From c434e369b6695f8135a2914e9a425edcdd09ef35 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 31 Jul 2005 05:59:26 +0000 Subject: [PATCH] (parse_rank_function) Fix msg() bug found by -Wformat. --- src/ChangeLog | 4 ++++ src/rank.q | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 3970abe1..7dec878d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +Sat Jul 30 22:58:33 2005 Ben Pfaff + + * rank.q: (parse_rank_function) Fix msg() bug found by -Wformat. + Sat Jul 30 22:56:12 2005 Ben Pfaff * postscript.c: (postopen) Cast `char' to `unsigned char' before diff --git a/src/rank.q b/src/rank.q index ad6a7ee0..2b768e54 100644 --- a/src/rank.q +++ b/src/rank.q @@ -241,7 +241,7 @@ parse_rank_function(struct cmd_rank *cmd UNUSED, enum RANK_FUNC f) } if ( var_count > sc->crit_cnt ) { - msg(ME, _("Too many variables in INTO clause."), tokid); + msg(ME, _("Too many variables in INTO clause.")); return 0; } -- 2.30.2