summaryrefslogtreecommitdiffstats
path: root/libzipfile
diff options
context:
space:
mode:
authorAriel Bernal <ariel.j.bernal@intel.com>2012-08-14 11:52:04 -0400
committerEdwin Vane <edwin.vane@intel.com>2012-08-20 16:38:37 -0400
commit62188564fab23418373295d9f4a942c3094a9f46 (patch)
tree2d47a22155fbbca45df96bb269ae0fc920f0544e /libzipfile
parented2e672f3b929ac49617de11e6530c812b082eb6 (diff)
downloadsystem_core-62188564fab23418373295d9f4a942c3094a9f46.zip
system_core-62188564fab23418373295d9f4a942c3094a9f46.tar.gz
system_core-62188564fab23418373295d9f4a942c3094a9f46.tar.bz2
Fixed warnings test_zipfile
Fixed implicit declaration of strcmp warning Fixed switch case of enumeration not handled Change-Id: Ic3f3690a2e749235b1b0dffd252b119855ad36c0 Author: Ariel Bernal <ariel.j.bernal@intel.com> Reviewed-by: Tareq A Siraj <tareq.a.siraj@intel.com>
Diffstat (limited to 'libzipfile')
-rw-r--r--libzipfile/test_zipfile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libzipfile/test_zipfile.c b/libzipfile/test_zipfile.c
index 40840ec..1aaa913 100644
--- a/libzipfile/test_zipfile.c
+++ b/libzipfile/test_zipfile.c
@@ -1,5 +1,5 @@
#include <zipfile/zipfile.h>
-
+#include <string.h>
#include <stdio.h>
#include <stdlib.h>
@@ -55,6 +55,8 @@ main(int argc, char** argv)
switch (what)
{
+ case HUH:
+ break;
case LIST:
dump_zipfile(stdout, zip);
break;