From: Arnaud Giersch Date: Tue, 21 Feb 2012 15:50:01 +0000 (+0100) Subject: Mark variable as unused. X-Git-Tag: exp_20120308~34^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f8ebed39786069c8da2dbaab5fa252365f1d2070 Mark variable as unused. --- diff --git a/src/xbt/ex.c b/src/xbt/ex.c index 579f63d2d1..bdb3aa2d4e 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -309,7 +309,8 @@ XBT_TEST_UNIT("value", test_value, "exception value passing") XBT_TEST_UNIT("variables", test_variables, "variable value preservation") { xbt_ex_t ex; - int r1, r2; + int r1; + int _XBT_GNUC_UNUSED r2; volatile int v1, v2; r1 = r2 = v1 = v2 = 1234;