Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe4ecd0

Browse files
committed
Fix compiler warning on Windows.
Commit 41c912c 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
1 parent 6fe25c1 commit fe4ecd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/pgbench/pgbench.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,8 @@ evalStandardFunc(TState *thread, CState *st,
19801980
}
19811981
}
19821982

1983-
break; /* NOTREACHED */
1983+
Assert(0);
1984+
return false; /* NOTREACHED */
19841985
}
19851986

19861987
/* integer bitwise operators */

0 commit comments

Comments
 (0)