playlist: don't use uninitialized local variable (typo)
Instead of the uninitialized local variable "s", I should have used "uri".
This commit is contained in:
parent
df5f16b54e
commit
da1c0cd6d7
@ -46,7 +46,7 @@ playlist_print_uri(FILE *file, const char *uri)
|
||||
char tmp[MPD_PATH_MAX];
|
||||
const char *s;
|
||||
|
||||
if (playlist_saveAbsolutePaths && !isValidRemoteUtf8Url(s))
|
||||
if (playlist_saveAbsolutePaths && !isValidRemoteUtf8Url(uri))
|
||||
s = map_directory_child_fs(db_get_root(), uri, tmp);
|
||||
else
|
||||
s = utf8_to_fs_charset(tmp, uri);
|
||||
|
Loading…
Reference in New Issue
Block a user