Remove useless casts
authorPeter Eisentraut <[email protected]>
Thu, 9 Sep 2021 05:58:12 +0000 (07:58 +0200)
committerPeter Eisentraut <[email protected]>
Thu, 9 Sep 2021 06:36:52 +0000 (08:36 +0200)
commitcbdf75bf8053f88bbae6b307f34ab057424a370f
treeeeaa5841506bbf6dfc086b281dfded59721f2e07
parent3b231596ccfc6bb6564c63a574e429765c0f775e
Remove useless casts

Casting the argument of strVal() to (Value *) is useless, since
strVal() already does that.

Most code didn't do that anyway; this was apparently just a style that
snuck into certain files.

Reviewed-by: Dagfinn Ilmari MannsÃ¥ker <[email protected]>
Reviewed-by: Kyotaro Horiguchi <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/5ba6bc5b-3f95-04f2-2419-f8ddb4c046fb@enterprisedb.com
src/backend/catalog/objectaddress.c
src/backend/commands/alter.c
src/backend/commands/comment.c
src/backend/commands/dropcmds.c
src/backend/commands/statscmds.c