Mercurial > hg > octave-nkf > gnulib-hg
changeset 13411:429328320118
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Fri, 11 Jun 2010 11:26:31 +0200 |
parents | 78e99fa31037 |
children | f191c36de594 |
files | ChangeLog tests/test-sys_socket.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-06-11 Jim Meyering <meyering@redhat.com> + 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. + test-xvasprintf: avoid 'const' discard warnings * tests/test-xvasprintf.c (test_xvasprintf, test_xasprintf): Use "const" when assigning from literal strings.