readline/search.c: Remove useless parameter '0' for rl_message()
authorChen Gang <gang.chen.5i5j@gmail.com>
Sat, 20 Sep 2014 03:50:14 +0000 (11:50 +0800)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 22 Sep 2014 13:52:06 +0000 (09:52 -0400)
commit20b23ee6c89b3c412f78017d777ca2d3d2937431
tree78f9f7b3dcb903d9f8161954bb731074c82679a1
parent342cc09114e3925c31de80910420f3b809f3923b
readline/search.c: Remove useless parameter '0' for rl_message()

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().

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
readline/ChangeLog.gdb
readline/search.c