]> granicus.if.org Git - php/commitdiff
Fixed compilation warning
authorDmitry Stogov <dmitry@zend.com>
Mon, 14 Oct 2019 18:47:46 +0000 (21:47 +0300)
committerDmitry Stogov <dmitry@zend.com>
Mon, 14 Oct 2019 18:47:46 +0000 (21:47 +0300)
ext/opcache/jit/libudis86/udis86.c

index e039c4e838cdfcfebc8eb5cbb1e534f9e869d964..0e00729febf46ca99dc7e0a1a3fdad6a8786e3c6 100644 (file)
@@ -336,7 +336,7 @@ ud_lookup_mnemonic(enum ud_mnemonic_code c)
   if (c < UD_MAX_MNEMONIC_CODE) {
     return ud_mnemonics_str[c];
   } else {
-    return NULL;
+    return "???";
   }
 }