diff options
| author | Jim Meyering <meyering@redhat.com> | 2010-10-01 11:07:23 +0200 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2010-10-03 20:42:41 +0200 |
| commit | 5862b677f13e965a29a7099b83e2f4f598d3b2a7 (patch) | |
| tree | 8bcabba352b2f552f1dd919cd83e5ed7da8f3610 /src/tr.c | |
| parent | tests: output --version of program under test (diff) | |
| download | coreutils-5862b677f13e965a29a7099b83e2f4f598d3b2a7.tar.gz coreutils-5862b677f13e965a29a7099b83e2f4f598d3b2a7.zip | |
maint: suppress a bogus used-uninitialized warning in tr.c
* src/tr.c (string2_extend): Insert an abort call to tell
gcc that char_to_repeat is not used uninitialized.
Diffstat (limited to 'src/tr.c')
| -rw-r--r-- | src/tr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1420,6 +1420,7 @@ string2_extend (const struct Spec_list *s1, struct Spec_list *s2) error (EXIT_FAILURE, 0, _("when translating with string1 longer than string2,\n\ the latter string must not end with a character class")); + abort (); /* inform gcc that the above use of error never returns. */ break; case RE_REPEATED_CHAR: |
