diff options
author | Jim Meyering <meyering@redhat.com> | 2010-06-11 11:26:31 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-06-11 11:26:31 +0200 |
commit | ef5acf202788003cdc70813756e173cd6b7dd5a1 (patch) | |
tree | 5398c94be346f9d652fddf1b8a98ba57dd0d3c5e /tests | |
parent | 9e1e9d8f3bac7fb52b026f0b628eb37d3a839097 (diff) | |
download | gnulib-ef5acf202788003cdc70813756e173cd6b7dd5a1.tar.gz |
test-sys_socket: avoid set-but-not-used warnings from gcc
* tests/test-sys_socket.c (main): Use "i" and "x", in order to
avoid warning about set-but-not-used variables.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-sys_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-sys_socket.c b/tests/test-sys_socket.c index badf308b7a..6ea6a7390a 100644 --- a/tests/test-sys_socket.c +++ b/tests/test-sys_socket.c @@ -49,5 +49,5 @@ main (void) x.ss_family = 42; i = 42; - return 0; + return ! (i + x.ss_family); } |