From: Art Cancro Date: Mon, 19 May 2003 19:55:09 +0000 (+0000) Subject: * summary.c: eliminate compiler warnings about unused variables when X-Git-Tag: v7.86~5893 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=f76c3ac5497d682ac20f19a796833e19c57bd400;p=citadel.git * summary.c: eliminate compiler warnings about unused variables when compiling a WebCit service without calendar support --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 07b543e61..433a9e7b1 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,8 @@ $Log$ +Revision 410.31 2003/05/19 19:55:09 ajc +* summary.c: eliminate compiler warnings about unused variables when + compiling a WebCit service without calendar support + Revision 410.30 2003/05/18 02:05:33 ajc * More conversion of screens to the new look-and-feel. @@ -1400,3 +1404,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/summary.c b/webcit/summary.c index f1fb69db2..86a152a18 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -127,8 +127,10 @@ void wholist_section(void) { * Task list section */ void tasks_section(void) { +#ifdef WEBCIT_WITH_CALENDAR_SERVICE int num_msgs = 0; int i; +#endif svprintf("BOXTITLE", WCS_STRING, "Tasks"); do_template("beginbox"); @@ -163,8 +165,10 @@ void tasks_section(void) { * Calendar section */ void calendar_section(void) { +#ifdef WEBCIT_WITH_CALENDAR_SERVICE int num_msgs = 0; int i; +#endif svprintf("BOXTITLE", WCS_STRING, "Today on your calendar"); do_template("beginbox");