diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-07-27 15:02:01 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-07-27 15:02:01 +0200 |
commit | 64f25adb6bbb6002dce837243e3915e45af385cf (patch) | |
tree | 38078cd3dfe50353848b62689e390b8a43fdaa59 /sapi/phpdbg/phpdbg_prompt.c | |
parent | b17ecc1e0212bb22e9bcfd9999701ab1a5e873c5 (diff) | |
download | php-git-64f25adb6bbb6002dce837243e3915e45af385cf.tar.gz |
Remove -Wunused-result warnings
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_prompt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index 9d40d000c2..9253576f01 100644 --- a/sapi/phpdbg/phpdbg_prompt.c +++ b/sapi/phpdbg/phpdbg_prompt.c @@ -350,7 +350,7 @@ void phpdbg_init(char *init_file, size_t init_file_len, zend_bool use_default) / char *sys_ini; int i; - asprintf(&sys_ini, "%s/" PHPDBG_INIT_FILENAME, PHP_CONFIG_FILE_PATH); + ZEND_IGNORE_VALUE(asprintf(&sys_ini, "%s/" PHPDBG_INIT_FILENAME, PHP_CONFIG_FILE_PATH)); phpdbg_try_file_init(sys_ini, strlen(sys_ini), 0); free(sys_ini); @@ -369,7 +369,7 @@ void phpdbg_init(char *init_file, size_t init_file_len, zend_bool use_default) / scan_dir[i] = 0; } - asprintf(&init_file, "%s/%s", scan_dir, PHPDBG_INIT_FILENAME); + ZEND_IGNORE_VALUE(asprintf(&init_file, "%s/%s", scan_dir, PHPDBG_INIT_FILENAME)); phpdbg_try_file_init(init_file, strlen(init_file), 1); if (i == -1) { break; |