Skip to content
Snippets Groups Projects
Commit 8a8c581a authored by Robert Haas's avatar Robert Haas
Browse files

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.
parent 31c018ec
Branches
Tags
No related merge requests found
...@@ -402,8 +402,7 @@ get_control_data(ClusterInfo *cluster, bool live_check) ...@@ -402,8 +402,7 @@ get_control_data(ClusterInfo *cluster, bool live_check)
} }
} }
if (output) pclose(output);
pclose(output);
/* /*
* Restore environment variables * Restore environment variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment