From: Kevin McCarthy Date: Fri, 22 Aug 2014 01:41:07 +0000 (-0700) Subject: Remove unused variable t in start_debug(). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1017fbf5e0916a0b59b338650dcaad82e014904e;p=neomutt Remove unused variable t in start_debug(). t was set but never used. This was generating a compiler warning. --- diff --git a/init.c b/init.c index 4897b9e8e..118f06f53 100644 --- a/init.c +++ b/init.c @@ -2822,7 +2822,6 @@ int mutt_getvaluebyname (const char *name, const struct mapping_t *map) #ifdef DEBUG static void start_debug (void) { - time_t t; int i; char buf[_POSIX_PATH_MAX]; char buf2[_POSIX_PATH_MAX]; @@ -2836,7 +2835,6 @@ static void start_debug (void) } if ((debugfile = safe_fopen(buf, "w")) != NULL) { - t = time (0); setbuf (debugfile, NULL); /* don't buffer the debugging output! */ dprint(1,(debugfile,"Mutt/%s (%s) debugging at level %d\n", MUTT_VERSION, ReleaseDate, debuglevel));