Fixed extra-semi-stmt warnings
@@ -59,8 +59,11 @@ typedef struct
} TSMFOssAudioDevice;
#define OSS_LOG_ERR(_text, _error) \
+ do \
+ { \
if (_error != 0) \
- WLog_ERR(TAG, "%s: %i - %s", _text, _error, strerror(_error));
+ WLog_ERR(TAG, "%s: %i - %s", _text, _error, strerror(_error)); \
+ } while (0)
static BOOL tsmf_oss_open(ITSMFAudioDevice* audio, const char* device)
{
