sofia-lib: More Fix for -Wunused-but-set-variable required compiler. (Might need to be ported back to sofia)

This commit is contained in:
Marc Olivier Chouinard committed 2011-04-23 20:33:19 -04:00
1 parent d3e3b39739
commit 626a99f994
14 files changed
+46 -44

No files matched your search

@@ -182,7 +182,7 @@ int time_d(char const **ss,
issize_t msg_date_d(char const **ss, msg_time_t *date)
{
char const *s = *ss;
char const *wkday;
//char const *wkday;
char const *tz;
unsigned long day, year, hour, min, sec;
int mon;
@@ -190,7 +190,8 @@ issize_t msg_date_d(char const **ss, msg_time_t *date)
if (!IS_TOKEN(*s) || !date)
return -1;
wkday = s; skip_token(&s); if (*s == ',') s++;
//wkday = s;
skip_token(&s); if (*s == ',') s++;
while (IS_LWS(*s)) s++;
if (is_digit(*s)) {