]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/nls/nls_base.c
sparse pointer use of zero as null
[mirror_ubuntu-artful-kernel.git] / fs / nls / nls_base.c
index e7905816c4caa1dce9b471bced589051e53da3e7..64965e1c21c46ca2dcb9aae20611a0725e9d4f4b 100644 (file)
@@ -111,7 +111,7 @@ utf8_wctomb(__u8 *s, wchar_t wc, int maxlen)
        int c, nc;
        const struct utf8_table *t;
   
-       if (s == 0)
+       if (!s)
                return 0;
   
        l = wc;