X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flog.c;h=0f51f3c3736a5c1d3cebbacb5e81039bde40af48;hb=91373ee6489fbe08db12bef2cf6df704b31e1378;hp=4d81e85d36d7d068e50bd0f345461a9a845e5fda;hpb=3c6ffef681f366214fdc970488e21aa89caab992;p=libucw.git diff --git a/lib/log.c b/lib/log.c index 4d81e85d..0f51f3c3 100644 --- a/lib/log.c +++ b/lib/log.c @@ -27,7 +27,6 @@ vlog(unsigned int cat, const char *msg, va_list args) { time_t tim = time(NULL); struct tm *tm = localtime(&tim); - char *prog = log_progname ?: "?"; char buf[32]; strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", tm);