Is it okay to commit this, to silence a gcc warning about a statement with no effect on non-mingw systems?
From: Eric Blake <e...@byu.net> Date: Wed, 25 Mar 2009 09:35:18 -0600 Subject: [PATCH] test-sockets: avoid gcc warning * tests/test-sockets.c (main): Silence compiler warning. Signed-off-by: Eric Blake <e...@byu.net> --- ChangeLog | 5 +++++ tests/test-sockets.c | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1b9cc0c..c700957 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-03-25 Eric Blake <e...@byu.net> + + test-sockets: avoid gcc warning + * tests/test-sockets.c (main): Silence compiler warning. + 2009-03-24 Simon Josefsson <si...@josefsson.org> * modules/unicase/locale-language-tests (test_locale_language_LDADD): diff --git a/tests/test-sockets.c b/tests/test-sockets.c index a37a197..3c85a43 100644 --- a/tests/test-sockets.c +++ b/tests/test-sockets.c @@ -40,7 +40,7 @@ main (int argc, char *argv[]) return 1; } - gl_fd_to_handle (0); + (void) gl_fd_to_handle (0); return 0; } -- 1.6.1.2