Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6abb30c

Browse files
committed
make clang happy again
1 parent 075f472 commit 6abb30c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/partition_creation.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,6 +1589,7 @@ invoke_init_callback_internal(init_callback_params *cb_params)
15891589

15901590
default:
15911591
WrongPartType(cb_params->parttype);
1592+
result = NULL; /* keep compiler happy */
15921593
}
15931594

15941595
/* Fetch function call data */

src/relation_info.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,6 +1294,7 @@ shout_if_prel_is_invalid(const Oid parent_oid,
12941294

12951295
default:
12961296
WrongPartType(expected_part_type);
1297+
expected_str = NULL; /* keep compiler happy */
12971298
}
12981299

12991300
elog(ERROR, "relation \"%s\" is not partitioned by %s",

0 commit comments

Comments
 (0)