Fix clang warning: Value stored to ch is never read.
authorFabian Keil <fk@fabiankeil.de>
Tue, 19 May 2009 17:47:22 +0000 (17:47 +0000)
committerFabian Keil <fk@fabiankeil.de>
Tue, 19 May 2009 17:47:22 +0000 (17:47 +0000)
errlog.c

index 0e41262..7ffc7d1 100644 (file)
--- a/errlog.c
+++ b/errlog.c
@@ -1,4 +1,4 @@
-const char errlog_rcs[] = "$Id: errlog.c,v 1.92 2009/03/20 03:39:31 ler762 Exp $";
+const char errlog_rcs[] = "$Id: errlog.c,v 1.93 2009/05/16 13:27:20 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/errlog.c,v $
@@ -751,7 +751,7 @@ void log_error(int loglevel, const char *fmt, ...)
             {
                unsigned long long lluval = va_arg(ap, unsigned long long);
                snprintf(tempbuf, sizeof(tempbuf), "%llu", lluval);
-               ch = *src++;
+               src++;
             }
             else
             {