diff options
author | Tom Lane | 2018-05-02 04:25:35 +0000 |
---|---|---|
committer | Tom Lane | 2018-05-02 04:25:35 +0000 |
commit | fe4ecd08d81cfea7f0512189893cc02cf261ccde (patch) | |
tree | 9e645674ef65746f79c47b34b139902d55cf1478 | |
parent | 6fe25c1358a2a9612f0b4ce841e68d74e408cebe (diff) |
Fix compiler warning on Windows.
Commit 41c912cad caused MSVC to complain that not all control paths
return a value.
Thomas Munro
Discussion: https://postgr.es/m/CAEepm%3D3%3DTDYEXUEcHpEx%2BTwc31wo7PA0oBAiNt6sWmq93MW02A%40mail.gmail.com
-rw-r--r-- | src/bin/pgbench/pgbench.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index c36556c497..f0c5149523 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -1980,7 +1980,8 @@ evalStandardFunc(TState *thread, CState *st, } } - break; /* NOTREACHED */ + Assert(0); + return false; /* NOTREACHED */ } /* integer bitwise operators */ |