shithub: lwext4

Download patch

ref: 809b27e9dcf7f7120b98b03b13ceb624302e8183
parent: e1bbe336d1736703a6b1565cfa5565fb276643a1
author: ngkaho1234 <ngkaho1234@gmail.com>
date: Fri Jan 22 23:20:10 EST 2016

ext4_debug: eliminate warning messages when assert is disabled.

--- a/lwext4/ext4_debug.h
+++ b/lwext4/ext4_debug.h
@@ -175,7 +175,7 @@
 #define ext4_assert(_v) assert(_v)
 #endif
 #else
-#define ext4_assert(_v)
+#define ext4_assert(_v) ((void)(_v))
 #endif
 
 #ifdef __cplusplus