Skip to content

Commit ae137bc

Browse files
committed
Fix warning about unused variable
1 parent 504f0c5 commit ae137bc

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
Oid viewOid;
105-
Oid namespaceId;
106105
LOCKMODE lockmode;
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy