From: Art Cancro Date: Mon, 14 Jun 2010 17:14:35 +0000 (+0000) Subject: * Wrapped ifdef around variables to prevent them from turning up as warnings X-Git-Tag: v7.86~160 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=90ca1d3400e7e48bb6589e5c0e1aa364dbf665d3;p=citadel.git * Wrapped ifdef around variables to prevent them from turning up as warnings --- diff --git a/webcit/groupdav_propfind.c b/webcit/groupdav_propfind.c index e3e7a0a93..f30822aec 100644 --- a/webcit/groupdav_propfind.c +++ b/webcit/groupdav_propfind.c @@ -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);