summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.h
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-07-27 15:02:01 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-07-27 15:02:01 +0200
commit64f25adb6bbb6002dce837243e3915e45af385cf (patch)
tree38078cd3dfe50353848b62689e390b8a43fdaa59 /sapi/phpdbg/phpdbg.h
parentb17ecc1e0212bb22e9bcfd9999701ab1a5e873c5 (diff)
downloadphp-git-64f25adb6bbb6002dce837243e3915e45af385cf.tar.gz
Remove -Wunused-result warnings
Diffstat (limited to 'sapi/phpdbg/phpdbg.h')
-rw-r--r--sapi/phpdbg/phpdbg.h2
1 files changed, 2 insertions, 0 deletions
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