From 80fb2c51fabc68782bedfe93f1949eab435cf35b Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser <26235500+Albrecht-S@users.noreply.github.com> Date: Mon, 13 Jul 2026 14:11:56 +0200 Subject: [PATCH] Remove declarations of unused variables to fix warning g++ [-Wunused-variable] --- src/Fl_Native_File_Chooser_GTK.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Fl_Native_File_Chooser_GTK.cxx b/src/Fl_Native_File_Chooser_GTK.cxx index 0eab5f983..8e29af071 100644 --- a/src/Fl_Native_File_Chooser_GTK.cxx +++ b/src/Fl_Native_File_Chooser_GTK.cxx @@ -710,8 +710,6 @@ int Fl_GTK_Native_File_Chooser_Driver::fl_gtk_chooser_wrapper() { int result = 1; char *p; - char preset[FL_PATH_MAX]; - size_t len = 0; if(gtkw_ptr) { // discard the previous dialog widget fl_gtk_widget_destroy (gtkw_ptr);