psppire-dialog-action-regression: Fix unused variable warning.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 13 Apr 2021 17:01:58 +0000 (10:01 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 13 Apr 2021 17:01:58 +0000 (10:01 -0700)
GCC said that 'ok' was unused because it's declared in the 'for' loop.

src/ui/gui/psppire-dialog-action-regression.c

index 3c037ba0485d6651c23f84030c1aad3bc69e2b20..c3f2234c1cf30559a935d1e5367378fcfd472d1b 100644 (file)
@@ -193,7 +193,6 @@ generate_syntax (const PsppireDialogAction *a)
 
   guint selected;
   GtkTreeIter iter;
-  gboolean ok;
 
   GString *string = g_string_new ("REGRESSION");