Commit 4fbecf3468576f5033d2a5de02cec137242e8d3c

Authored by Perry Werneck
1 parent 75d89aa4
Exists in master and in 1 other branch develop

Removendo warnings durante a compilação.

Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
mouse.c
... ... @@ -91,6 +91,9 @@ static void single_click(v3270 *widget, int baddr)
91 91  
92 92 static void button_1_press(GtkWidget *widget, GdkEventType type, int baddr)
93 93 {
  94 + #pragma GCC diagnostic push
  95 + #pragma GCC diagnostic ignored "-Wswitch"
  96 +
94 97 switch(type)
95 98 {
96 99 case GDK_BUTTON_PRESS: // Single click - set mode
... ... @@ -112,6 +115,9 @@ static void button_1_press(GtkWidget *widget, GdkEventType type, int baddr)
112 115 trace("Unexpected button 1 type %d",type);
113 116 #endif
114 117 }
  118 +
  119 + #pragma GCC diagnostic pop
  120 +
115 121 }
116 122  
117 123 void v3270_emit_popup(v3270 *widget, int baddr, GdkEventButton *event)
... ...