CTABLES: Avoid uninitialized variable warning in some GCC versions.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 16 Jan 2023 16:50:07 +0000 (08:50 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 16 Jan 2023 17:28:18 +0000 (09:28 -0800)
src/language/commands/ctables.c

index 9bb6e1c84fc8a6d6c931138615bf8881fa4d3180..3f238a7f10c847208c1c166cb685286ab71e8bcc 100644 (file)
@@ -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;