We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e1efa2 + 00c8f8a commit 7b296faCopy full SHA for 7b296fa
mongoose.c
@@ -977,7 +977,8 @@ struct packed_file {
977
#if MG_ENABLE_PACKED_FS
978
#else
979
const char *mg_unpack(const char *path, size_t *size, time_t *mtime) {
980
- *size = 0, *mtime = 0;
+ if (size != NULL) *size = 0;
981
+ if (mtime != NULL) *mtime = 0;
982
(void) path;
983
return NULL;
984
}
src/fs_packed.c
@@ -11,7 +11,8 @@ struct packed_file {
11
12
13
14
15
16
17
18
0 commit comments