FLTK logo

[master] 3cf002b - Remove compilation warning "enumeration value ‘NONE’ not handled in switch"

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 3cf002b - Remove compilation warning "enumeration value ‘NONE’ not handled in switch" "ManoloFLTK" 13:17 Mar 13  
 
commit 3cf002b45d93205580e535a686ac11e64820d019
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Wed Mar 13 21:10:35 2024 +0100
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Mar 13 21:10:35 2024 +0100

    Remove compilation warning "enumeration value â??NONEâ?? not handled in switch"

 libdecor/src/plugins/gtk/libdecor-gtk.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git libdecor/src/plugins/gtk/libdecor-gtk.c libdecor/src/plugins/gtk/libdecor-gtk.c
index ed4a842..de6ec90 100644
--- libdecor/src/plugins/gtk/libdecor-gtk.c
+++ libdecor/src/plugins/gtk/libdecor-gtk.c
@@ -2409,7 +2409,8 @@ pointer_button(void *data,
 	case HEADER:
 		handle_button_on_header (frame_gtk, seat, serial, time, button, state);
 		break;
-	//default: /* FLTK */
+	default:
+                break;  /* FLTK */
 	}
 }
 
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.