]> jfr.im git - irc/weechat/weechat.git/commitdiff
php: fix compilation warning about unused arguments
authorSébastien Helleu <redacted>
Thu, 30 Jun 2022 18:35:59 +0000 (20:35 +0200)
committerSébastien Helleu <redacted>
Thu, 30 Jun 2022 18:35:59 +0000 (20:35 +0200)
src/plugins/php/weechat-php-api.c

index 6d47fbea66240593f91d7a685771b3e639f1e630..cfe2ffaca11ecaab346da772e63ae70fa3035949 100644 (file)
@@ -5447,6 +5447,10 @@ static void
 forget_hash_entry (HashTable *ht, INTERNAL_FUNCTION_PARAMETERS)
 {
 #if PHP_VERSION_ID >= 80000
+    /* make C compiler happy */
+    (void) ht;
+    (void) execute_data;
+
     RETURN_FALSE;
 #else
     zend_string *class_name;