From ec6638314cc478cc21f37552209b338d6f092747 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 6 Oct 2019 11:51:15 +0200 Subject: [PATCH] general: remove some oddly-placed audio_error macros --- panda/src/physics/config_physics.h | 3 --- panda/src/putil/uniqueIdAllocator.cxx | 4 ---- 2 files changed, 7 deletions(-) diff --git a/panda/src/physics/config_physics.h b/panda/src/physics/config_physics.h index 1c1b768e83..b64fc707fc 100644 --- a/panda/src/physics/config_physics.h +++ b/panda/src/physics/config_physics.h @@ -59,7 +59,4 @@ extern EXPCL_PANDA_PHYSICS void init_libphysics(); #define physics_error(msg) ((void)0) #endif //] -#define audio_error(msg) \ - audio_cat->error() << msg << std::endl - #endif // CONFIG_PHYSICS_H diff --git a/panda/src/putil/uniqueIdAllocator.cxx b/panda/src/putil/uniqueIdAllocator.cxx index 6c4edd9795..ab7d619c37 100644 --- a/panda/src/putil/uniqueIdAllocator.cxx +++ b/panda/src/putil/uniqueIdAllocator.cxx @@ -44,10 +44,6 @@ const uint32_t UniqueIdAllocator::IndexAllocated = (uint32_t)-2; #define uniqueIdAllocator_warning(msg) ((void)0) #endif //] -#define audio_error(msg) \ - audio_cat->error() << msg << endl - - /** * Create a free id pool in the range [min:max]. */