diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-04-15 12:41:01 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-04-15 12:41:01 +0300 |
commit | 33c2bc0d1ae695c64d94b0a96e39912000cd9f70 (patch) | |
tree | b27189d9a22158ed1a056a0527c0c9923d18684a /src/state.c | |
parent | cc1a0187eeaff681fea7eb04d0db289774bc7cb1 (diff) | |
download | apk-tools-33c2bc0d1ae695c64d94b0a96e39912000cd9f70.tar.gz apk-tools-33c2bc0d1ae695c64d94b0a96e39912000cd9f70.tar.bz2 apk-tools-33c2bc0d1ae695c64d94b0a96e39912000cd9f70.tar.xz apk-tools-33c2bc0d1ae695c64d94b0a96e39912000cd9f70.zip |
state: more uninitialized variables initialized
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index d131e1b..0113506 100644 --- a/src/state.c +++ b/src/state.c @@ -162,7 +162,7 @@ int apk_state_lock_dependency(struct apk_state *state, { struct apk_name *name = dep->name; struct apk_name_choices *c; - struct apk_package *installed, *latest = NULL, *use; + struct apk_package *installed = NULL, *latest = NULL, *use; int i; if (ns_empty(state->name[name->id])) { |