From 2ba47e8e5b0d35132f98e67827d3fd9de853a8f2 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 1 Apr 2010 17:49:07 +0300 Subject: [PATCH] Lose unused static initialization foo --- lib/rpmdb.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/rpmdb.c b/lib/rpmdb.c index e948bcc..2888421 100644 --- a/lib/rpmdb.c +++ b/lib/rpmdb.c @@ -718,11 +718,6 @@ rpmdb newRpmdb(const char * root, int mode, int perms, int flags) { rpmdb db = xcalloc(sizeof(*db), 1); - static int _initialized = 0; - - if (!_initialized) { - _initialized = 1; - } *db = dbTemplate; /* structure assignment */ -- 2.7.4