Fix uninitialized variable (#17256)

This commit is contained in:
Eric Warmenhoven 2024-12-13 12:55:38 -05:00 committed by GitHub
parent 840bee7297
commit 48f156fefe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5267,7 +5267,7 @@ static const char *input_overlay_path(bool want_osk)
{
if (!string_is_empty(content_path))
{
const struct playlist_entry *entry;
const struct playlist_entry *entry = NULL;
playlist_get_index_by_path(playlist, content_path, &entry);
if (entry && entry->db_name)
{