com php-src: Fixed compilation warning: ext/opcache/jit/libudis86/udis86.c
| From: | Dmitry Stogov | Date: | Mon, 14 Oct 2019 18:47:46 +0000 |
| Subject: | com php-src: Fixed compilation warning: ext/opcache/jit/libudis86/udis86.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108916@lists.php.net to get a copy of this message | ||
Commit: 52136123591e039623013c5a085ef99c1a3451ba
Author: Dmitry Stogov <dmitry@zend.com> Mon, 14 Oct 2019 21:47:46 +0300
Parents: 2958fecb8b25432f7de1841cdb7746ef2a62b396
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=52136123591e039623013c5a085ef99c1a3451ba
Log:
Fixed compilation warning
Changed paths:
M ext/opcache/jit/libudis86/udis86.c
Diff:
diff --git a/ext/opcache/jit/libudis86/udis86.c b/ext/opcache/jit/libudis86/udis86.c
index e039c4e838c..0e00729febf 100644
--- a/ext/opcache/jit/libudis86/udis86.c
+++ b/ext/opcache/jit/libudis86/udis86.c
@@ -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 "???";
}
}