Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b00d81

Browse files
committed
hide false positives found by clang analyzer
1 parenta49fdac commit6b00d81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/pathman_workers.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp