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

Commiteb11166

Browse files
author
Alexander Korotkov
committed
Fix compiler warnings.
1 parent61a4cc6 commiteb11166

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎contrib/pg_pathman/init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ void
275275
load_check_constraints(Oidparent_oid,Snapshotsnapshot)
276276
{
277277
PartRelationInfo*prel;
278-
RangeRelation*rangerel;
278+
RangeRelation*rangerel=NULL;
279279
SPIPlanPtrplan;
280280
boolfound;
281281
intret,
@@ -306,7 +306,7 @@ load_check_constraints(Oid parent_oid, Snapshot snapshot)
306306
{
307307
SPITupleTable*tuptable=SPI_tuptable;
308308
Oid*children;
309-
RangeEntry*ranges;
309+
RangeEntry*ranges=NULL;
310310
Datummin;
311311
Datummax;
312312
inthash;

‎contrib/pg_pathman/rangeset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ irange_list_union(List *a, List *b)
7474
ListCell*ca,
7575
*cb;
7676
List*result=NIL;
77-
IndexRangecur;
77+
IndexRangecur=0;
7878
boolhave_cur= false;
7979

8080
ca=list_head(a);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp