diff options
author | Max Kellermann <max@duempel.org> | 2008-10-14 17:23:24 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-14 17:23:24 +0200 |
commit | da1c0cd6d7c9202f70ac63c96276e58499334062 (patch) | |
tree | a4837eebd6fc6a19836b0365a0ade8d7c983a250 /src | |
parent | df5f16b54eebd3a7a512aa18a2e4bbcb7cc93d63 (diff) | |
download | mpd-da1c0cd6d7c9202f70ac63c96276e58499334062.tar.gz mpd-da1c0cd6d7c9202f70ac63c96276e58499334062.tar.xz mpd-da1c0cd6d7c9202f70ac63c96276e58499334062.zip |
playlist: don't use uninitialized local variable (typo)
Instead of the uninitialized local variable "s", I should have used
"uri".
Diffstat (limited to 'src')
-rw-r--r-- | src/playlist_save.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist_save.c b/src/playlist_save.c index 55cd6bd87..c89afe684 100644 --- a/src/playlist_save.c +++ b/src/playlist_save.c @@ -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); |