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

Commit5963b29

Browse files
committed
Initialize variable to silence compiler warning.
Afterff11e7f Tom's compiler warns about accessing a potentiallyuninitialized rInfo. That's not actually possible, but it'sunderstandable the compiler would get this wrong. NULL initialize too.Reported-By: Tom LaneDiscussion:https://postgr.es/m/11199.1551285318@sss.pgh.pa.us
1 parent538ecc1 commit5963b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/commands/trigger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4490,7 +4490,7 @@ afterTriggerInvokeEvents(AfterTriggerEventList *events,
44904490
AfterTriggerEventChunk*chunk;
44914491
MemoryContextper_tuple_context;
44924492
boollocal_estate= false;
4493-
ResultRelInfo*rInfo;
4493+
ResultRelInfo*rInfo=NULL;
44944494
Relationrel=NULL;
44954495
TriggerDesc*trigdesc=NULL;
44964496
FmgrInfo*finfo=NULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp