We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e1efa2 commit 00c8f8aCopy full SHA for 00c8f8a
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