Commit Diff
--- mime.c +++ mime.c @@ -70,7 +70,7 @@ get_file_extension(const char *path) char * get_mime_type(const char *ext) { - char *mime; + char *mime = NULL; size_t len; long unsigned int i;
--- mime.c +++ mime.c @@ -70,7 +70,7 @@ get_file_extension(const char *path) char * get_mime_type(const char *ext) { - char *mime; + char *mime = NULL; size_t len; long unsigned int i;