mirror of
https://github.com/postgres/postgres.git
synced 2025-05-31 00:01:57 -04:00
Remove unnecessary NULL test.
Spotted by Coverity and reported by Michael Paquier. Per discussion, we don't necessarily care about making Coverity happy in all such instances, but we can go ahead and change them where it otherwise seems to improve the code.
This commit is contained in:
parent
31c018ecda
commit
8a8c581a8c
@ -402,8 +402,7 @@ get_control_data(ClusterInfo *cluster, bool live_check)
|
||||
}
|
||||
}
|
||||
|
||||
if (output)
|
||||
pclose(output);
|
||||
pclose(output);
|
||||
|
||||
/*
|
||||
* Restore environment variables
|
||||
|
Loading…
x
Reference in New Issue
Block a user