projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fe25c1
)
Fix compiler warning on Windows.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Wed, 2 May 2018 04:25:35 +0000
(
00:25
-0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Wed, 2 May 2018 04:25:35 +0000
(
00:25
-0400)
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
src/bin/pgbench/pgbench.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pgbench/pgbench.c
b/src/bin/pgbench/pgbench.c
index c36556c497f2a4460d0cddc1a935b188c1d37031..f0c5149523da089de8cd55ea6ca58668c9532ba3 100644
(file)
--- 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 */