We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72d613 commit 4a8fef0Copy full SHA for 4a8fef0
src/bin/pgbench/pgbench.c
@@ -2239,7 +2239,7 @@ evalStandardFunc(CState *st,
2239
{
2240
/* evaluate all function arguments */
2241
int nargs = 0;
2242
- PgBenchValue vargs[MAX_FARGS];
+ PgBenchValue vargs[MAX_FARGS] = { 0 };
2243
PgBenchExprLink *l = args;
2244
bool has_null = false;
2245
src/bin/pgbench/pgbench.h
@@ -33,7 +33,7 @@ union YYSTYPE;
33
*/
34
typedef enum
35
36
- PGBT_NO_VALUE,
+ PGBT_NO_VALUE = 0,
37
PGBT_NULL,
38
PGBT_INT,
39
PGBT_DOUBLE,
0 commit comments