summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-02 19:53:11 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-02 19:53:11 (EST)
commit7d7b856f28e7eee26afc4a8e3e6438162128ea1e (patch)
tree5ca1e7bea38147e8a495fef838890b3c48b534e2 /libopkg
parentd47d475e70c13208bc3f61997943c65bbfbe132f (diff)
Remove unused code: if pkg was NULL, we would already have segfaulted.
git-svn-id: http://opkg.googlecode.com/svn/trunk@241 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/opkg_conf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libopkg/opkg_conf.c b/libopkg/opkg_conf.c
index 8e90602..2739861 100644
--- a/libopkg/opkg_conf.c
+++ b/libopkg/opkg_conf.c
@@ -704,9 +704,6 @@ int opkg_conf_write_status_files(opkg_conf_t *conf)
|| pkg->state_want == SW_PURGE)) {
continue;
}
- if (!pkg) {
- fprintf(stderr, "Null package\n");
- }
if (pkg->dest == NULL) {
fprintf(stderr, "%s: ERROR: Can't write status for "
"package %s since it has a NULL dest\n",