瀏覽代碼

fix to audio_debug macro

Dave Schuyler 24 年之前
父節點
當前提交
7dc347c29f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/audio/config_audio.h

+ 1 - 1
panda/src/audio/config_audio.h

@@ -46,7 +46,7 @@ extern EXPCL_PANDA void audio_load_loaders();
   #define audio_debug(msg) \
   #define audio_debug(msg) \
   if (audio_cat.is_debug()) { \
   if (audio_cat.is_debug()) { \
     audio_cat->debug() << msg << endl; \
     audio_cat->debug() << msg << endl; \
-  }
+  } else {}
 
 
   #define audio_info(msg) \
   #define audio_info(msg) \
     audio_cat->info() << msg << endl
     audio_cat->info() << msg << endl