From: Antonio Ospite Date: Tue, 24 Jan 2012 14:39:24 +0000 (+0100) Subject: Dump the data only in DEBUG builds X-Git-Tag: v0.1.0~17 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/a083bf6cc5c360d21f357c410142b3e9f12da79c?hp=a083bf6cc5c360d21f357c410142b3e9f12da79c Dump the data only in DEBUG builds Also use -Werror only in DEBUG builds, otherwise normal builds fail with: src/am7xxx.c:42:13: error: ‘dump_header’ defined but not used [-Werror=unused-function] src/am7xxx.c:73:13: error: ‘dump_buffer’ defined but not used [-Werror=unused-function] ---