Skip to content

Commit 9f08452

Browse files
committed
Remove unused variable to silence compiler warning
1 parent e54ae78 commit 9f08452

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/commands/typecmds.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,6 @@ AlterDomainValidateConstraint(List *names, char *constrName)
20462046
Relation typrel;
20472047
Relation conrel;
20482048
HeapTuple tup;
2049-
Form_pg_type typTup;
20502049
Form_pg_constraint con = NULL;
20512050
Form_pg_constraint copy_con;
20522051
char *conbin;
@@ -2068,7 +2067,6 @@ AlterDomainValidateConstraint(List *names, char *constrName)
20682067
tup = SearchSysCache1(TYPEOID, ObjectIdGetDatum(domainoid));
20692068
if (!HeapTupleIsValid(tup))
20702069
elog(ERROR, "cache lookup failed for type %u", domainoid);
2071-
typTup = (Form_pg_type) GETSTRUCT(tup);
20722070

20732071
/* Check it's a domain and check user has permission for ALTER DOMAIN */
20742072
checkDomainOwner(tup);

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