[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test-sockets compilation
From: |
Eric Blake |
Subject: |
test-sockets compilation |
Date: |
Wed, 25 Mar 2009 20:11:28 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Is it okay to commit this, to silence a gcc warning about a statement with no
effect on non-mingw systems?
From: Eric Blake <address@hidden>
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 <address@hidden>
---
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 <address@hidden>
+
+ test-sockets: avoid gcc warning
+ * tests/test-sockets.c (main): Silence compiler warning.
+
2009-03-24 Simon Josefsson <address@hidden>
* 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
- test-sockets compilation,
Eric Blake <=