Ignore chmod() return value. Only other option would be to let zip_commit fail, and I find that too heavy-handed. Silences Coverity warning.
diff --git a/lib/zip_source_filep.c b/lib/zip_source_filep.c index 0832724..3d94ca4 100644 --- a/lib/zip_source_filep.c +++ b/lib/zip_source_filep.c
@@ -237,7 +237,8 @@ } mask = umask(022); umask(mask); - chmod(ctx->fname, 0666&~mask); + /* not much we can do if chmod fails except make the whole commit fail */ + (void)chmod(ctx->fname, 0666&~mask); free(ctx->tmpname); ctx->tmpname = NULL; return 0;