shut up bogus complaint of unused variable in new ratelimit ACL work exim-4_77_RC4
authorPhil Pennock <pdp@exim.org>
Thu, 6 Oct 2011 06:59:26 +0000 (02:59 -0400)
committerPhil Pennock <pdp@exim.org>
Thu, 6 Oct 2011 06:59:26 +0000 (02:59 -0400)
doc/doc-txt/ChangeLog
src/src/acl.c

index 9a518e9d29e05037415eae6a19dbaa44257bb7ff..1d95772d1be6121cd16dfb3bc43b17a4db98641b 100644 (file)
@@ -123,7 +123,7 @@ PP/11 match_* no longer expand right-hand-side by default.
 
 PP/12 fix uninitialised greeting string from PP/03 (smtps client support).
 
 
 PP/12 fix uninitialised greeting string from PP/03 (smtps client support).
 
-PP/13 shell and compiler warnings fixes for RC1-RC3 changes.
+PP/13 shell and compiler warnings fixes for RC1-RC4 changes.
 
 PP/14 fix log_write() format string regression from TF/03.
       Bugzilla 1152.  Patch from Dmitry Isaikin.
 
 PP/14 fix log_write() format string regression from TF/03.
       Bugzilla 1152.  Patch from Dmitry Isaikin.
index 8af5643085719ae4116e15701193143f7d63a4f1..77fdc56271b3ceda37ff9a0354dbaa1963767868 100644 (file)
@@ -2340,6 +2340,7 @@ case RATE_PER_RCPT:
   anchor = &ratelimiters_cmd;
   break;
 default:
   anchor = &ratelimiters_cmd;
   break;
 default:
+  anchor = NULL; /* silence an "unused" complaint */
   log_write(0, LOG_MAIN|LOG_PANIC_DIE,
     "internal ACL error: unknown ratelimit mode %d", mode);
   break;
   log_write(0, LOG_MAIN|LOG_PANIC_DIE,
     "internal ACL error: unknown ratelimit mode %d", mode);
   break;