Skip to content

Commit 9a11df1

Browse files
committed
Remove duplicate assignment in new pg_get_object_address() function.
Noted by Coverity.
1 parent 6630420 commit 9a11df1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/catalog/objectaddress.c

-1
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,6 @@ pg_get_object_address(PG_FUNCTION_ARGS)
14161416
Relation relation;
14171417

14181418
/* Decode object type, raise error if unknown */
1419-
ttype = TextDatumGetCString(PG_GETARG_TEXT_P(0));
14201419
itype = read_objtype_from_string(ttype);
14211420
if (itype < 0)
14221421
ereport(ERROR,

0 commit comments

Comments
 (0)