aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2004-11-28 04:33:29 +0000
committerJason Woodward2004-11-28 04:33:29 +0000
commitb406188683edbd06df3a92f2c60893f7d999d684 (patch)
tree588625f26f8bee2b773a35796a397d6978259bfc /src
parent6a6ef19342e128e685f04778049ab96e25ca209f (diff)
downloadslapt-get-b406188683edbd06df3a92f2c60893f7d999d684.tar.gz
initialized update_pkg to NULL
Diffstat (limited to 'src')
-rw-r--r--src/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/action.c b/src/action.c
index 0cdc567..afc7649 100644
--- a/src/action.c
+++ b/src/action.c
@@ -476,7 +476,7 @@ void pkg_action_upgrade_all(const rc_config *global_config){
}
for(i = 0; i < installed_pkgs->pkg_count;i++){
- pkg_info_t *update_pkg;
+ pkg_info_t *update_pkg = NULL;
/* see if we have an available update for the pkg */
update_pkg = get_newest_pkg(