changeset: 6374:b1ef16f25425
user:      Kevin McCarthy <[email protected]>
date:      Thu Aug 21 18:41:07 2014 -0700
link:      http://dev.mutt.org/hg/mutt/rev/b1ef16f25425

Remove unused variable t in start_debug().

t was set but never used.  This was generating a compiler warning.

diffs (19 lines):

diff -r 80186ee6eb57 -r b1ef16f25425 init.c
--- a/init.c    Thu Aug 14 20:12:28 2014 -0700
+++ b/init.c    Thu Aug 21 18:41:07 2014 -0700
@@ -2822,7 +2822,6 @@
 #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 @@
   }
   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));

Reply via email to