From ff5a65d26b139142c5e967582c369ef65b79adf8 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sun, 20 Nov 2016 19:02:40 +0100 Subject: Revert "Remove a few unused write warning (backport from master, oops)s" This reverts commit c65d24eaa3671e61db7c2a3f28daeaf7c74ac758. --- 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 3df2be0aed..94c5471e22 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