diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-03-06 18:18:33 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-03-06 16:01:48 -0500 |
commit | 030d99cef35962dc78111407218d66215296de4b (patch) | |
tree | aed0c1ceced99587ae5bde7da71f085cb98222b0 | |
parent | bb90be1e23e419e92eff404208ecf175796f4eba (diff) | |
download | ding-libs-030d99cef35962dc78111407218d66215296de4b.tar.gz ding-libs-030d99cef35962dc78111407218d66215296de4b.tar.xz ding-libs-030d99cef35962dc78111407218d66215296de4b.zip |
INI: Silence compilation warnings
* Do not set ext_data parameter to NULL
* include a private header to avoid implicit declarations
-rw-r--r-- | ini/ini_configobj.c | 1 | ||||
-rw-r--r-- | ini/ini_valueobj.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/ini/ini_configobj.c b/ini/ini_configobj.c index 3e5dec4..f825b73 100644 --- a/ini/ini_configobj.c +++ b/ini/ini_configobj.c @@ -182,7 +182,6 @@ static int ini_copy_cb(struct collection_item *item, TRACE_FLOW_ENTRY(); - ext_data = NULL; *skip = 0; /* Banary items are the values */ diff --git a/ini/ini_valueobj.c b/ini/ini_valueobj.c index a90fa45..8c378ac 100644 --- a/ini/ini_valueobj.c +++ b/ini/ini_valueobj.c @@ -28,6 +28,7 @@ #include "ref_array.h" #include "ini_comment.h" #include "ini_defines.h" +#include "ini_valueobj.h" #include "trace.h" struct value_obj { |