mkfs.ubifs: fix compiler warning for WITHOUT_LZO
PATCH 1/1 mkfs.ubifs: fix compiler warning for WITHOUT_LZO
Fix compiler warning for WITHOUT_LZO builds
Signed-off-by Daniel Walter <[email protected]>
--- ubifs-utils/mkfs.ubifs/compr.c | 2 ++ 1 file changed, 2 insertions(+)
ubifs-utils/mkfs.ubifs/compr.c +2 -0
@@ -38,7 +38,9 @@static void *lzo_mem;static unsigned long long errcnt =0 ; +#ifndef WITHOUT_LZO static struct ubifs_info *c = &info_; +#endif #define DEFLATE_DEF_LEVEL Z_DEFAULT_COMPRESSION#define DEFLATE_DEF_WINBITS 11
Signature · 1 line
2.6.2
Quoted 3 lines · Daniel Walter
Fix compiler warning for
WITHOUT_LZObuildsSigned-off-by Daniel Walter <[email protected]>
Please add the compiler warning into the commit message such that google can find this patch by searching for the message.
Signature · 2 lines
Thanks, //richard