From 8c6f6b4f5612d093f8c467bfe2df3f3b619109ce Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 16 Jan 2023 08:50:07 -0800 Subject: [PATCH] CTABLES: Avoid uninitialized variable warning in some GCC versions. --- src/language/commands/ctables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/language/commands/ctables.c b/src/language/commands/ctables.c index 9bb6e1c84f..3f238a7f10 100644 --- a/src/language/commands/ctables.c +++ b/src/language/commands/ctables.c @@ -5120,7 +5120,7 @@ ctables_prepare_table (struct ctables_table *t, struct lexer *lexer) ata = PIVOT_AXIS_ROW; atb = PIVOT_AXIS_COLUMN; } - else if (at == CTAT_COL || at == CTAT_LAYERCOL) + else /* at == CTAT_COL || at == CTAT_LAYERCOL */ { ata = PIVOT_AXIS_COLUMN; atb = PIVOT_AXIS_ROW; -- 2.30.2