mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-12-25 13:31:44 +00:00
Fix "void value not ignored as it ought to be" errors
The macros in rtw_debug.h expands an `if` without a body, so this
error is emitted several dozen times when compiling.
Work-around found here:
f96431f1e3
Related issue discussion:
https://github.com/donahue95/rtl8192eu-linux-driver/issues/2
Thanks to donahue95 <donahue95@comcast.net>! <3
(donahue95/rtl8192eu-linux-driver@f96431f1e3)
This commit is contained in:
parent
89e79bf30a
commit
0c8b0caaaa
@ -227,7 +227,7 @@ extern void rtl871x_cedbg(const char *fmt, ...);
|
||||
if (sel == RTW_DBGDUMP)\
|
||||
_DBG_871X_LEVEL(_drv_always_, fmt, ##arg); \
|
||||
else {\
|
||||
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
|
||||
_seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
|
||||
} \
|
||||
}while(0)
|
||||
|
||||
@ -237,7 +237,7 @@ extern void rtl871x_cedbg(const char *fmt, ...);
|
||||
if (sel == RTW_DBGDUMP)\
|
||||
DBG_871X_LEVEL(_drv_always_, fmt, ##arg); \
|
||||
else {\
|
||||
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
|
||||
_seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
|
||||
} \
|
||||
}while(0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user