From 64f25adb6bbb6002dce837243e3915e45af385cf Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Mon, 27 Jul 2015 15:02:01 +0200 Subject: Remove -Wunused-result warnings --- sapi/phpdbg/phpdbg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sapi/phpdbg/phpdbg.h') diff --git a/sapi/phpdbg/phpdbg.h b/sapi/phpdbg/phpdbg.h index ac9e80946b..ed18e7ba55 100644 --- a/sapi/phpdbg/phpdbg.h +++ b/sapi/phpdbg/phpdbg.h @@ -113,6 +113,8 @@ #define memcpy(...) memcpy_tmp(__VA_ARGS__) #endif +#define quiet_write(...) ZEND_IGNORE_VALUE(write(__VA_ARGS__)) + #if !defined(PHPDBG_WEBDATA_TRANSFER_H) && !defined(PHPDBG_WEBHELPER_H) #ifdef ZTS -- cgit v1.2.1