diff options
author | Ariel Bernal <ariel.j.bernal@intel.com> | 2012-08-14 11:52:04 -0400 |
---|---|---|
committer | Edwin Vane <edwin.vane@intel.com> | 2012-08-20 16:38:37 -0400 |
commit | 62188564fab23418373295d9f4a942c3094a9f46 (patch) | |
tree | 2d47a22155fbbca45df96bb269ae0fc920f0544e /libzipfile | |
parent | ed2e672f3b929ac49617de11e6530c812b082eb6 (diff) | |
download | system_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.c | 4 |
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;
|