# HG changeset patch # User Marc Andre Tanner # Date 1260567279 -3600 # Node ID 6fb534830d8f58e51ccf1d9dc91e5696ab2ec9ed # Parent a7423b680bb0d82f79fd6cb814a6226301caa2ad Silence compiler warnings: unused variable ?ignore? diff -r a7423b680bb0 -r 6fb534830d8f sources/toys/ccwrap.c --- a/sources/toys/ccwrap.c Wed Dec 16 15:22:21 2009 -0600 +++ b/sources/toys/ccwrap.c Fri Dec 11 22:34:39 2009 +0100 @@ -36,7 +36,7 @@ // gcc 4.3 generates tons of spurious warnings which you can't shut off. -#define xasprintf(...) do {int ignore=asprintf(__VA_ARGS__);} while(0) +#define xasprintf(...) do {(void)asprintf(__VA_ARGS__);} while(0) // #define GIMME_AN_S for wrapper to support --enable-shared toolchain.