Mon, 30 Oct 2017 16:29:07 +0100
some small fixes in tar.c
dav/tar.c | file | annotate | diff | comparison | revisions |
--- a/dav/tar.c Sat Oct 28 16:50:03 2017 +0200 +++ b/dav/tar.c Mon Oct 30 16:29:07 2017 +0100 @@ -35,6 +35,7 @@ const char* tar_error2str(TarError error) { switch(error) { + default: break; case TAR_OK: return "ok"; case TAR_PATH_TOO_LONG: return "path too long"; case TAR_FILE_TOO_LARGE: return "file too large"; @@ -316,4 +317,5 @@ free(tar->cur_entry.path); } free(tar); + return 0; }