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

Commit 96c3947

Browse files
committed
make scan-build happy again
1 parent f2bc73c commit 96c3947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pl_range_funcs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@ create_range_partitions_internal(PG_FUNCTION_ARGS)
12821282
MakeBoundInf(PLUS_INFINITY) :
12831283
MakeBound(datums[i+1]);
12841284
RangeVar *rv = npartnames > 0 ? rangevars[i] : NULL;
1285-
char *tablespace = ntablespaces > 0 ? tablespaces[i] : NULL;
1285+
char *tablespace = tablespaces != NULL ? tablespaces[i] : NULL;
12861286

12871287
(void) create_single_range_partition_internal(relid,
12881288
&start, &end,

0 commit comments

Comments
 (0)