diff options
author | Max Kellermann <max@duempel.org> | 2013-10-17 22:39:06 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-17 22:39:06 +0200 |
commit | f951e5356b7b6fb1126e367e641882f1e5192f76 (patch) | |
tree | 6e25ea9d361194ce4e70cc642ec840c8da7b1e8c /src/fs/Path.hxx | |
parent | 080ee87e07f0037e559abbea6f7db73602af5137 (diff) | |
download | mpd-f951e5356b7b6fb1126e367e641882f1e5192f76.tar.gz mpd-f951e5356b7b6fb1126e367e641882f1e5192f76.tar.xz mpd-f951e5356b7b6fb1126e367e641882f1e5192f76.zip |
fs/Charset: don't allow nullptr arguments
Diffstat (limited to 'src/fs/Path.hxx')
-rw-r--r-- | src/fs/Path.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx index 38112feee..d5b96f407 100644 --- a/src/fs/Path.hxx +++ b/src/fs/Path.hxx @@ -123,10 +123,10 @@ public: * Convert a UTF-8 C string to a #Path instance. * Returns return a "nulled" instance on error. */ - gcc_pure + gcc_pure gcc_nonnull_all static Path FromUTF8(const char *path_utf8); - gcc_pure + gcc_pure gcc_nonnull_all static Path FromUTF8(const char *path_utf8, Error &error); /** |