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

Commitae137bc

Browse files
committed
Fix warning about unused variable
1 parent504f0c5 commitae137bc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎src/backend/commands/view.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ DefineVirtualRelation(RangeVar *relation, List *tlist, bool replace,
102102
List*options)
103103
{
104104
OidviewOid;
105-
OidnamespaceId;
106105
LOCKMODElockmode;
107106
CreateStmt*createStmt=makeNode(CreateStmt);
108107
List*attrList;
@@ -167,8 +166,7 @@ DefineVirtualRelation(RangeVar *relation, List *tlist, bool replace,
167166
* namespace is temporary.
168167
*/
169168
lockmode=replace ?AccessExclusiveLock :NoLock;
170-
namespaceId=
171-
RangeVarGetAndCheckCreationNamespace(relation,lockmode,&viewOid);
169+
(void)RangeVarGetAndCheckCreationNamespace(relation,lockmode,&viewOid);
172170

173171
if (OidIsValid(viewOid)&&replace)
174172
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp