Get rid of forward NULL

This commit is contained in:
twinaphex 2017-02-21 21:13:46 +01:00
parent f7bbafa93d
commit 5eec1c1f39

View File

@ -842,7 +842,8 @@ bool core_info_database_supports_content_path(const char *database_path, const c
if (!string_is_empty(new_path)) if (!string_is_empty(new_path))
database = strdup(new_path); database = strdup(new_path);
path_remove_extension(database); if (!string_is_empty(database))
path_remove_extension(database);
delim = path_get_archive_delim(path); delim = path_get_archive_delim(path);