diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-11 12:17:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-11 12:17:35 +0000 |
commit | ade18415414b49a7e78ac7c8b1a6c81cd81bb1a1 (patch) | |
tree | b10f3d29ae2119ebc88057246357d495193d38f1 /src/del.c | |
parent | 110611c53c8e1b09c27c8c516c7f7c0baf47f68b (diff) | |
download | aports-ade18415414b49a7e78ac7c8b1a6c81cd81bb1a1.tar.bz2 aports-ade18415414b49a7e78ac7c8b1a6c81cd81bb1a1.tar.xz |
fix misc compiler warnings about unintialized variables.
The compiler is actually right about those.
Diffstat (limited to 'src/del.c')
-rw-r--r-- | src/del.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ static int del_main(void *ctx, int argc, char **argv) struct apk_database db; struct apk_state *state; struct apk_name *name; - int i, r; + int i, r = 0; if (apk_db_open(&db, apk_root, APK_OPENF_WRITE) < 0) return -1; |