Fix build with gcc-3.4

This commit is contained in:
Kirill Ponomarev 2004-08-22 13:54:48 +00:00
parent d8b6181a8a
commit 337073231a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117023
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,14 @@
$FreeBSD$
--- gnome-vnc-viewer.c.orig Sun Aug 22 15:48:17 2004
+++ gnome-vnc-viewer.c Sun Aug 22 15:48:33 2004
@@ -343,7 +343,7 @@
curShared = TRUE; break;
case -2:
- }
+ break;}
case POPT_CALLBACK_REASON_PRE:
if (!strcmp(arg, "8"))
curDepth = VNC_VIEWER_DEPTH_8BIT;

View file

@ -0,0 +1,32 @@
$FreeBSD$
--- vnc-viewer.c.orig Sun Aug 22 15:47:19 2004
+++ vnc-viewer.c Sun Aug 22 15:47:52 2004
@@ -391,7 +391,7 @@
g_free(text);
break;
}
- default:
+ default: break;
}
g_free(msg);
}
@@ -781,7 +781,7 @@
case 1: vnc->button_mask |= rfbButton1Mask; break;
case 2: vnc->button_mask |= rfbButton2Mask; break;
case 3: vnc->button_mask |= rfbButton3Mask; break;
- default:
+ default: break;
}
x = vnc->hadj->value + (guint16)event->x;
@@ -801,7 +801,7 @@
case 1: vnc->button_mask &= ~rfbButton1Mask; break;
case 2: vnc->button_mask &= ~rfbButton2Mask; break;
case 3: vnc->button_mask &= ~rfbButton3Mask; break;
- default:
+ default: break;
}
x = vnc->hadj->value + (guint16)event->x;