aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Charset.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-17 22:39:06 +0200
committerMax Kellermann <max@duempel.org>2013-10-17 22:39:06 +0200
commitf951e5356b7b6fb1126e367e641882f1e5192f76 (patch)
tree6e25ea9d361194ce4e70cc642ec840c8da7b1e8c /src/fs/Charset.hxx
parent080ee87e07f0037e559abbea6f7db73602af5137 (diff)
downloadmpd-f951e5356b7b6fb1126e367e641882f1e5192f76.tar.gz
mpd-f951e5356b7b6fb1126e367e641882f1e5192f76.tar.xz
mpd-f951e5356b7b6fb1126e367e641882f1e5192f76.zip
fs/Charset: don't allow nullptr arguments
Diffstat (limited to 'src/fs/Charset.hxx')
-rw-r--r--src/fs/Charset.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/Charset.hxx b/src/fs/Charset.hxx
index 58b5a090a..19dabeb2b 100644
--- a/src/fs/Charset.hxx
+++ b/src/fs/Charset.hxx
@@ -37,13 +37,13 @@ SetFSCharset(const char *charset);
/**
* Convert the path to UTF-8.
- * Returns empty string on error or if #path_fs is null pointer.
+ * Returns empty string on error.
*/
-gcc_pure
+gcc_pure gcc_nonnull_all
std::string
PathToUTF8(const char *path_fs);
-gcc_malloc
+gcc_malloc gcc_nonnull_all
char *
PathFromUTF8(const char *path_utf8);