From 3baf0da79f32879a3a14d12091dcf52da3513ee4 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 4 Mar 2011 12:32:49 +0200 Subject: [PATCH] Remove unused nowtm variable --- lib/query.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/query.c b/lib/query.c index 308fe65..dd9c76f 100644 --- a/lib/query.c +++ b/lib/query.c @@ -38,7 +38,6 @@ static void printFileInfo(const char * name, time_t when = mtime; /* important if sizeof(int32_t) ! sizeof(time_t) */ struct tm * tm; static time_t now; - static struct tm nowtm; char * perms = rpmPermsString(mode); char *link = NULL; @@ -46,7 +45,6 @@ static void printFileInfo(const char * name, if (now == 0) { now = time(NULL); tm = localtime(&now); - if (tm) nowtm = *tm; /* structure assignment */ } rstrlcpy(ownerfield, owner, sizeof(ownerfield)); -- 2.7.4