Skip to content

Commit e2712b4

Browse files
committed
Fix [-Wunused-function]
comment out the function as its usage if also commented out
1 parent 7a2f81d commit e2712b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pinpoint_php.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ ZEND_GET_MODULE(pinpoint_php)
6767
#endif
6868

6969
ZEND_DECLARE_MODULE_GLOBALS(pinpoint_php);
70-
static void pinpoint_log(char *msg);
70+
//static void pinpoint_log(char *msg);
7171

7272
// clang-format off
7373
/* {{{ PHP_INI
@@ -1270,6 +1270,7 @@ PHP_MINFO_FUNCTION(pinpoint_php) {
12701270
}
12711271
/* }}} */
12721272

1273+
/*
12731274
void pinpoint_log(char *msg) {
12741275
#if PHP_VERSION_ID >= 70100
12751276
php_log_err_with_severity(msg, LOG_DEBUG);
@@ -1278,3 +1279,4 @@ void pinpoint_log(char *msg) {
12781279
php_log_err(msg TSRMLS_CC);
12791280
#endif
12801281
}
1282+
*/

0 commit comments

Comments
 (0)