From bab307bf1b5ac07c45fd2ddb78930831bddb9c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 5 Jan 2018 14:59:08 +0100 Subject: [PATCH] php: fix compiler warning (issue #128) --- src/plugins/php/weechat-php.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c index 8bad793ff..24fe40cbb 100644 --- a/src/plugins/php/weechat-php.c +++ b/src/plugins/php/weechat-php.c @@ -642,6 +642,10 @@ weechat_php_load (const char *filename, const char *code) { zend_file_handle file_handle; + /* make C compiler happy */ + /* TODO: implement load of code in PHP */ + (void) code; + if ((weechat_php_plugin->debug >= 2) || !php_quiet) { weechat_printf (NULL,