@@ -543,11 +543,9 @@ MYSQLND_METHOD(mysqlnd_debug, set_mode)(MYSQLND_DEBUG * self, const char * const
543
543
state = PARSER_WAIT_COLON ;
544
544
break ;
545
545
case ':' :
546
- #if 0
547
546
if (state != PARSER_WAIT_COLON ) {
548
547
php_error_docref (NULL , E_WARNING , "Consecutive semicolons at position %u" , i );
549
548
}
550
- #endif
551
549
state = PARSER_WAIT_MODIFIER ;
552
550
break ;
553
551
case 'f' : /* limit output to these functions */
@@ -581,10 +579,8 @@ MYSQLND_METHOD(mysqlnd_debug, set_mode)(MYSQLND_DEBUG * self, const char * const
581
579
}
582
580
i = j ;
583
581
} else {
584
- #if 0
585
582
php_error_docref (NULL , E_WARNING ,
586
583
"Expected list of functions for '%c' found none" , mode [i ]);
587
- #endif
588
584
}
589
585
state = PARSER_WAIT_COLON ;
590
586
break ;
@@ -661,9 +657,7 @@ MYSQLND_METHOD(mysqlnd_debug, set_mode)(MYSQLND_DEBUG * self, const char * const
661
657
break ;
662
658
default :
663
659
if (state == PARSER_WAIT_MODIFIER ) {
664
- #if 0
665
660
php_error_docref (NULL , E_WARNING , "Unrecognized format '%c'" , mode [i ]);
666
- #endif
667
661
if (i + 1 < mode_len && mode [i + 1 ] == ',' ) {
668
662
i += 2 ;
669
663
while (i < mode_len ) {
@@ -675,9 +669,7 @@ MYSQLND_METHOD(mysqlnd_debug, set_mode)(MYSQLND_DEBUG * self, const char * const
675
669
}
676
670
state = PARSER_WAIT_COLON ;
677
671
} else if (state == PARSER_WAIT_COLON ) {
678
- #if 0
679
672
php_error_docref (NULL , E_WARNING , "Colon expected, '%c' found" , mode [i ]);
680
- #endif
681
673
}
682
674
break ;
683
675
}
0 commit comments