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_sigsafe.c | |
parent | b17ecc1e0212bb22e9bcfd9999701ab1a5e873c5 (diff) | |
download | php-git-64f25adb6bbb6002dce837243e3915e45af385cf.tar.gz |
Remove -Wunused-result warnings
Diffstat (limited to 'sapi/phpdbg/phpdbg_sigsafe.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_sigsafe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_sigsafe.c b/sapi/phpdbg/phpdbg_sigsafe.c index 319c9a5e75..82cb7aba01 100644 --- a/sapi/phpdbg/phpdbg_sigsafe.c +++ b/sapi/phpdbg/phpdbg_sigsafe.c @@ -13,13 +13,13 @@ static void* zend_mm_mem_alloc(zend_mm_storage *storage, size_t size, size_t ali return PHPDBG_G(sigsafe_mem).mem; } - write(PHPDBG_G(io)[PHPDBG_STDERR].fd, ZEND_STRL("Tried to allocate more than " EXP_STR(PHPDBG_SIGSAFE_MEM_SIZE) " bytes from stack memory in signal handler ... bailing out of signal handler\n")); + quiet_write(PHPDBG_G(io)[PHPDBG_STDERR].fd, ZEND_STRL("Tried to allocate more than " EXP_STR(PHPDBG_SIGSAFE_MEM_SIZE) " bytes from stack memory in signal handler ... bailing out of signal handler\n")); if (*EG(bailout)) { LONGJMP(*EG(bailout), FAILURE); } - write(PHPDBG_G(io)[PHPDBG_STDERR].fd, ZEND_STRL("Bailed out without a bailout address in signal handler!\n")); + quiet_write(PHPDBG_G(io)[PHPDBG_STDERR].fd, ZEND_STRL("Bailed out without a bailout address in signal handler!\n")); return NULL; } |