summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_conf.c
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-15 22:09:02 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-15 22:09:02 (EST)
commit29208c4e40c475b544011681c3d735e4d46e88b2 (patch)
treeb75922794840b6ed65bca80a533af8c97c77902f /libopkg/opkg_conf.c
parent2da4982d7fcf037361e31dd29768903f7d5101d9 (diff)
Don't mask variable of wider scope.
git-svn-id: http://opkg.googlecode.com/svn/trunk@493 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_conf.c')
-rw-r--r--libopkg/opkg_conf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libopkg/opkg_conf.c b/libopkg/opkg_conf.c
index d773c16..a29666c 100644
--- a/libopkg/opkg_conf.c
+++ b/libopkg/opkg_conf.c
@@ -34,7 +34,7 @@
#include <glob.h>
static int lock_fd;
-char *lock_file;
+static char *lock_file = NULL;
static opkg_conf_t _conf;
opkg_conf_t *conf = &_conf;
@@ -398,7 +398,6 @@ opkg_conf_init(void)
int i;
char *tmp, *tmp_dir_base, **tmp_val;
nv_pair_list_t tmp_dest_nv_pair_list;
- char *lock_file = NULL;
glob_t globbuf;
char *etc_opkg_conf_pattern;