File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -534,12 +534,14 @@ bgw_main_concurrent_part(Datum main_arg)
534534
535535 /* Great, now relation is locked */
536536 rel_locked = true;
537+ (void ) rel_locked ; /* mute clang analyzer */
537538
538539 /* Make sure that relation exists */
539540 if (!SearchSysCacheExists1 (RELOID , ObjectIdGetDatum (part_slot -> relid )))
540541 {
541542 /* Exit after we raise ERROR */
542543 failures_count = PART_WORKER_MAX_ATTEMPTS ;
544+ (void ) failures_count ; /* mute clang analyzer */
543545
544546 elog (ERROR , "relation %u does not exist" , part_slot -> relid );
545547 }
@@ -549,6 +551,7 @@ bgw_main_concurrent_part(Datum main_arg)
549551 {
550552 /* Exit after we raise ERROR */
551553 failures_count = PART_WORKER_MAX_ATTEMPTS ;
554+ (void ) failures_count ; /* mute clang analyzer */
552555
553556 elog (ERROR , "relation \"%s\" is not partitioned" ,
554557 get_rel_name (part_slot -> relid ));
You can’t perform that action at this time.
0 commit comments