@@ -1212,7 +1212,6 @@ PHP_FUNCTION(pg_query)
12121212 PHP_PQ_ERROR ("Query failed: %s" , pgsql );
12131213 PQclear (pgsql_result );
12141214 RETURN_FALSE ;
1215- break ;
12161215 case PGRES_COMMAND_OK : /* successful command that did not return rows */
12171216 default :
12181217 if (pgsql_result ) {
@@ -1351,7 +1350,6 @@ PHP_FUNCTION(pg_query_params)
13511350 PHP_PQ_ERROR ("Query failed: %s" , pgsql );
13521351 PQclear (pgsql_result );
13531352 RETURN_FALSE ;
1354- break ;
13551353 case PGRES_COMMAND_OK : /* successful command that did not return rows */
13561354 default :
13571355 if (pgsql_result ) {
@@ -1437,7 +1435,6 @@ PHP_FUNCTION(pg_prepare)
14371435 PHP_PQ_ERROR ("Query failed: %s" , pgsql );
14381436 PQclear (pgsql_result );
14391437 RETURN_FALSE ;
1440- break ;
14411438 case PGRES_COMMAND_OK : /* successful command that did not return rows */
14421439 default :
14431440 if (pgsql_result ) {
@@ -1536,7 +1533,6 @@ PHP_FUNCTION(pg_execute)
15361533 PHP_PQ_ERROR ("Query failed: %s" , pgsql );
15371534 PQclear (pgsql_result );
15381535 RETURN_FALSE ;
1539- break ;
15401536 case PGRES_COMMAND_OK : /* successful command that did not return rows */
15411537 default :
15421538 if (pgsql_result ) {
@@ -1648,7 +1644,6 @@ PHP_FUNCTION(pg_last_notice)
16481644 zend_hash_clean (notices );
16491645 }
16501646 RETURN_TRUE ;
1651- break ;
16521647 default :
16531648 zend_argument_value_error (2 , "must be one of PGSQL_NOTICE_LAST, PGSQL_NOTICE_ALL, or PGSQL_NOTICE_CLEAR" );
16541649 RETURN_THROWS ();
@@ -3401,7 +3396,6 @@ PHP_FUNCTION(pg_copy_to)
34013396 case -2 :
34023397 PHP_PQ_ERROR ("getline failed: %s" , pgsql );
34033398 RETURN_FALSE ;
3404- break ;
34053399 default :
34063400 add_next_index_string (return_value , csv );
34073401 PQfreemem (csv );
@@ -3420,7 +3414,6 @@ PHP_FUNCTION(pg_copy_to)
34203414 PQclear (pgsql_result );
34213415 PHP_PQ_ERROR ("Copy command failed: %s" , pgsql );
34223416 RETURN_FALSE ;
3423- break ;
34243417 }
34253418}
34263419/* }}} */
@@ -3551,12 +3544,10 @@ PHP_FUNCTION(pg_copy_from)
35513544 RETURN_FALSE ;
35523545 }
35533546 RETURN_TRUE ;
3554- break ;
35553547 default :
35563548 PQclear (pgsql_result );
35573549 PHP_PQ_ERROR ("Copy command failed: %s" , pgsql );
35583550 RETURN_FALSE ;
3559- break ;
35603551 }
35613552}
35623553/* }}} */
@@ -5793,7 +5784,6 @@ PHP_FUNCTION(pg_insert)
57935784 PHP_PQ_ERROR ("Query failed: %s" , pg_link );
57945785 PQclear (pg_result );
57955786 RETURN_FALSE ;
5796- break ;
57975787 case PGRES_COMMAND_OK : /* successful command that did not return rows */
57985788 default :
57995789 if (pg_result ) {
0 commit comments