Fix bogus assertion in BootstrapModeMain().
The assertion was always true, as written, thanks to me "simplifying" it before commit. Per coverity and Tom Lane.
This commit is contained in:
parent
0e6aa8747d
commit
e12694523e
@ -215,9 +215,9 @@ BootstrapModeMain(int argc, char *argv[], bool check_only)
|
||||
InitializeGUCOptions();
|
||||
|
||||
/* an initial --boot or --check should be present */
|
||||
Assert(argc == 1
|
||||
|| strcmp(argv[1], "--boot") != 0
|
||||
|| strcmp(argv[1], "--check") != 0);
|
||||
Assert(argc > 1
|
||||
&& (strcmp(argv[1], "--boot") == 0
|
||||
|| strcmp(argv[1], "--check") == 0));
|
||||
argv++;
|
||||
argc--;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user