]> diplodocus.org Git - nmh/blobdiff - sbr/charstring.c
On FreeBSD, use fetch(1) to retrieve external content through URLs.
[nmh] / sbr / charstring.c
index cc2e907e284c32c731f5dbe3bd65af9ba501357d..d007e7b59c11740267104850cf929c2bf52396bc 100644 (file)
@@ -161,7 +161,7 @@ charstring_last_char_len (const charstring_t s) {
     const char *sp = charstring_buffer (s);
     size_t remaining = charstring_bytes (s);
 
-    (void) mbtowc (NULL, NULL, 0); /* reset shift state */
+    if (mbtowc (NULL, NULL, 0)) {} /* reset shift state */
 
     while (*sp  &&  remaining > 0) {
         wchar_t wide_char;