Skip to content

Commit

Permalink
Fixed warnings test_zipfile
Browse files Browse the repository at this point in the history
Fixed implicit declaration of strcmp warning
Fixed switch case of enumeration not handled

Change-Id: Ic3f3690a2e749235b1b0dffd252b119855ad36c0
Author: Ariel Bernal <[email protected]>
Reviewed-by: Tareq A Siraj <[email protected]>
  • Loading branch information
ajbernal authored and Edwin Vane committed Aug 20, 2012
1 parent ed2e672 commit 6218856
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libzipfile/test_zipfile.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <zipfile/zipfile.h>

#include <string.h>
#include <stdio.h>
#include <stdlib.h>

Expand Down Expand Up @@ -55,6 +55,8 @@ main(int argc, char** argv)

switch (what)
{
case HUH:
break;
case LIST:
dump_zipfile(stdout, zip);
break;
Expand Down

0 comments on commit 6218856

Please sign in to comment.