From: Ben Pfaff Date: Sun, 31 Jul 2005 05:59:26 +0000 (+0000) Subject: (parse_rank_function) Fix msg() bug found by -Wformat. X-Git-Tag: sav-api~2249 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c434e369b6695f8135a2914e9a425edcdd09ef35;p=pspp (parse_rank_function) Fix msg() bug found by -Wformat. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3970abe189..7dec878d3b 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 ad6a7ee044..2b768e54d6 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; }