[PATCH] readline/search.c: Remove useless parameter '0' for rl_message()
Andreas Schwab
schwab@suse.de
Mon Sep 22 13:06:00 GMT 2014
Joel Brobecker <brobecker@adacore.com> writes:
> Hi Chen,
>
>> The related warning under Darwin x86_64:
>>
>> gcc -c -DHAVE_CONFIG_H -I. -I../../binutils-gdb/readline -DRL_LIBRARY_VERSION='"6.2"' -g -O2 ../../binutils-gdb/readline/search.c
>> ../../binutils-gdb/readline/search.c:213:24: warning: data argument not used by format string [-Wformat-extra-args]
>> rl_message ("%s", p, 0);
>> ~~~~ ^
>> 1 warning generated.
>>
>>
>> readline/ChangeLog.gdb:
>>
>> * search.c (_rl_nsearch_init): Remove useless parameter '0' for
>> rl_message().
>
> Because readline is a separate project from binutils/GDB, we prefer
> it if you would first submit the patch to the readline project first
> (bug-readline@gnu.org, in Cc: of this email), get it accepted there.
This bug was already fixed in bash 4.3.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Binutils
mailing list