Remove useless casts
Peter Eisentraut <peter@eisentraut.org>
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 <ilmari@ilmari.org> Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/5ba6bc5b-3f95-04f2-2419-f8ddb4c046fb@enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/objectaddress.c | modified | +10 −10 |
| src/backend/commands/alter.c | modified | +8 −8 |
| src/backend/commands/comment.c | modified | +1 −1 |
| src/backend/commands/dropcmds.c | modified | +8 −8 |
| src/backend/commands/statscmds.c | modified | +1 −1 |
Discussion
- Remove Value node struct 8 messages · 2021-08-25 → 2021-09-09