* summary.c: eliminate compiler warnings about unused variables when
authorArt Cancro <ajc@citadel.org>
Mon, 19 May 2003 19:55:09 +0000 (19:55 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 19 May 2003 19:55:09 +0000 (19:55 +0000)
  compiling a WebCit service without calendar support

webcit/ChangeLog
webcit/summary.c

index 07b543e61d657a76d74c888e7eb35a0c1cdc69b5..433a9e7b190540d971bca5936128afd9f665b250 100644 (file)
@@ -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 <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
index f1fb69db25820571e6afc1186b77f1a6fa875f22..86a152a1890eeae4344a4c53731a72f6b26f28cd 100644 (file)
@@ -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&nbsp;on&nbsp;your&nbsp;calendar");
        do_template("beginbox");