mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Remove unnecessary casts of makeNode() result
makeNode() is already a macro that has the right result pointer type, so casting it again to the same type is unnecessary.
This commit is contained in:
@@ -131,8 +131,7 @@ identify_system:
|
||||
base_backup:
|
||||
K_BASE_BACKUP base_backup_opt_list
|
||||
{
|
||||
BaseBackupCmd *cmd =
|
||||
(BaseBackupCmd *) makeNode(BaseBackupCmd);
|
||||
BaseBackupCmd *cmd = makeNode(BaseBackupCmd);
|
||||
cmd->options = $2;
|
||||
$$ = (Node *) cmd;
|
||||
}
|
||||
|
Reference in New Issue
Block a user