diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-05-02 00:25:35 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-05-02 00:25:35 -0400 |
commit | fe4ecd08d81cfea7f0512189893cc02cf261ccde (patch) | |
tree | 9e645674ef65746f79c47b34b139902d55cf1478 | |
parent | 6fe25c1358a2a9612f0b4ce841e68d74e408cebe (diff) | |
download | postgresql-fe4ecd08d81cfea7f0512189893cc02cf261ccde.tar.gz postgresql-fe4ecd08d81cfea7f0512189893cc02cf261ccde.zip |
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 c36556c497f..f0c5149523d 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 */ |