diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-03-04 12:32:49 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-03-04 12:32:49 +0200 |
commit | 3baf0da79f32879a3a14d12091dcf52da3513ee4 (patch) | |
tree | 0d5a0f48f9e3174b6746eb779f28f00b2ea1f1bf | |
parent | 320c150e6ffa55a7c5454331f89d2d366f76fe73 (diff) | |
download | librpm-tizen-3baf0da79f32879a3a14d12091dcf52da3513ee4.tar.gz librpm-tizen-3baf0da79f32879a3a14d12091dcf52da3513ee4.tar.bz2 librpm-tizen-3baf0da79f32879a3a14d12091dcf52da3513ee4.zip |
Remove unused nowtm variable
-rw-r--r-- | lib/query.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/query.c b/lib/query.c index 308fe6593..dd9c76fee 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)); |