Commit da1c0cd6 authored by Max Kellermann's avatar Max Kellermann

playlist: don't use uninitialized local variable (typo)

Instead of the uninitialized local variable "s", I should have used "uri".
parent df5f16b5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment