From 08a92571872aaa6d4cb8d43c6170c358f8ef0d94 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:53:45 -0500 Subject: opkg: remove redundant OPKG_LIB conditional code git-svn-id: http://opkg.googlecode.com/svn/trunk@49 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/libopkg.c') diff --git a/libopkg/libopkg.c b/libopkg/libopkg.c index c57ad0a..afc42da 100644 --- a/libopkg/libopkg.c +++ b/libopkg/libopkg.c @@ -15,8 +15,6 @@ General Public License for more details. */ -#ifdef OPKG_LIB - #include "opkg.h" #include "includes.h" #include "libopkg.h" @@ -394,12 +392,9 @@ int default_opkg_message_callback(opkg_conf_t *conf, message_level_t level, if (conf && (conf->verbosity < level)) { return 0; } else { -#ifdef OPKG_LIB if ( level == OPKG_ERROR ){ push_error_list(&error_list, msg); -// printf(msg); } else -#endif printf(msg); } return 0; @@ -523,5 +518,3 @@ opkg_op (int argc, char *argv[]) return err; } - -#endif /* OPKG_LIB */ -- cgit v0.9.1