Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8a8c581

Browse files
committed
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 suchinstances, but we can go ahead and change them where it otherwiseseems to improve the code.
1 parent31c018e commit8a8c581

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/bin/pg_upgrade/controldata.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,7 @@ get_control_data(ClusterInfo *cluster, bool live_check)
402402
}
403403
}
404404

405-
if (output)
406-
pclose(output);
405+
pclose(output);
407406

408407
/*
409408
* Restore environment variables

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp