* Wrapped ifdef around variables to prevent them from turning up as warnings
authorArt Cancro <ajc@citadel.org>
Mon, 14 Jun 2010 17:14:35 +0000 (17:14 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 14 Jun 2010 17:14:35 +0000 (17:14 +0000)
webcit/groupdav_propfind.c

index e3e7a0a931589df246a7a4fd7174da97dd9e85f9..f30822aec5dd99730c9244986738d9b6eb1615f9 100644 (file)
@@ -437,7 +437,10 @@ void groupdav_collection_list(void)
  */
 void groupdav_propfind(void) 
 {
+#ifdef DEV_RESTDAV
        HashList *SubRooms = NULL;
+       long State;
+#endif
        wcsession *WCC = WC;
        StrBuf *dav_roomname;
        StrBuf *dav_uid;
@@ -451,7 +454,6 @@ void groupdav_propfind(void)
        int i;
        char datestring[256];
        time_t now;
-       long State;
 
        now = time(NULL);
        http_datestring(datestring, sizeof datestring, now);