Mercurial > hg > octave-kai > gnulib-hg
annotate modules/safe-alloc-tests @ 16275:053f5a861da8
inet_ntop: guard extra work by IF_LINT
No need to penalize the code just to silence a gcc warning, so
follow the conventions used elsewhere in gnulib. Clients that
want to use extra warnings should also be using -Dlint.
* lib/inet_ntop.c (inet_ntop6): Mark spurious initialization, for
better code generation when not checking for warnings.
Suggested by Paul Eggert and Jim Meyering.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Thu, 12 Jan 2012 08:44:08 -0700 |
parents | a48d3d749ca5 |
children |
rev | line source |
---|---|
11174
59bd6cfe1edd
Tests for module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff
changeset
|
1 Files: |
59bd6cfe1edd
Tests for module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff
changeset
|
2 tests/test-safe-alloc.c |
12496
a48d3d749ca5
Refactor common macros used in tests.
Bruno Haible <bruno@clisp.org>
parents:
11174
diff
changeset
|
3 tests/macros.h |
11174
59bd6cfe1edd
Tests for module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff
changeset
|
4 |
59bd6cfe1edd
Tests for module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff
changeset
|
5 Depends-on: |
59bd6cfe1edd
Tests for module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff
changeset
|
6 |
59bd6cfe1edd
Tests for module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff
changeset
|
7 configure.ac: |
59bd6cfe1edd
Tests for module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff
changeset
|
8 |
59bd6cfe1edd
Tests for module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff
changeset
|
9 Makefile.am: |
59bd6cfe1edd
Tests for module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff
changeset
|
10 TESTS += test-safe-alloc |
59bd6cfe1edd
Tests for module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff
changeset
|
11 check_PROGRAMS += test-safe-alloc |