]> granicus.if.org Git - neomutt/commitdiff
Remove unused variable t in start_debug().
authorKevin McCarthy <kevin@8t8.us>
Fri, 22 Aug 2014 01:41:07 +0000 (18:41 -0700)
committerKevin McCarthy <kevin@8t8.us>
Fri, 22 Aug 2014 01:41:07 +0000 (18:41 -0700)
t was set but never used.  This was generating a compiler warning.

init.c

diff --git a/init.c b/init.c
index 4897b9e8ea79ad046f3f0b8b4408926465784e3a..118f06f534075562dbdfdc815936b7664329cdd3 100644 (file)
--- 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));