mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-03-01 07:00:44 +00:00
avoid pointless MSVC warnings
return value in void function
This commit is contained in:
parent
85b3aed9b0
commit
ecdd6e2a8a
1 changed files with 6 additions and 4 deletions
|
@ -69,13 +69,15 @@ void fluid_time_config(void);
|
||||||
#define FLUID_LE16TOH(x) GINT16_FROM_LE(x)
|
#define FLUID_LE16TOH(x) GINT16_FROM_LE(x)
|
||||||
|
|
||||||
|
|
||||||
#define fluid_return_val_if_fail(cond, val) \
|
#define fluid_return_if_fail(cond) \
|
||||||
if(cond) \
|
if(cond) \
|
||||||
; \
|
; \
|
||||||
else \
|
else \
|
||||||
return val
|
return
|
||||||
|
|
||||||
|
#define fluid_return_val_if_fail(cond, val) \
|
||||||
|
fluid_return_if_fail(cond) (val)
|
||||||
|
|
||||||
#define fluid_return_if_fail(cond) fluid_return_val_if_fail(cond, ((void)(0)))
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Utility functions
|
* Utility functions
|
||||||
|
|
Loading…
Reference in a new issue