diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-07 19:18:57 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-07 19:18:57 +0000 |
commit | e9ecf73769a83303266196e23552ce633f796847 (patch) | |
tree | 0a7ef34a6975505a438b09406e3782a3d41dbcd2 /x11-wm | |
parent | Fix build with gcc-3.4.2 (diff) |
Fix build with gcc-3.4.2
PR: ports/70122
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=115576
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/ahwm/files/patch-move-resize.c | 36 | ||||
-rw-r--r-- | x11-wm/ahwm/files/patch-prefs.c | 20 |
2 files changed, 56 insertions, 0 deletions
diff --git a/x11-wm/ahwm/files/patch-move-resize.c b/x11-wm/ahwm/files/patch-move-resize.c new file mode 100644 index 000000000000..f29e945ec28e --- /dev/null +++ b/x11-wm/ahwm/files/patch-move-resize.c @@ -0,0 +1,36 @@ +--- move-resize.c.orig Sun Feb 17 04:58:21 2002 ++++ move-resize.c Fri Aug 6 21:39:09 2004 +@@ -794,7 +794,8 @@ + x_start = client->x + client->width; + y_start = client->y + client->height; + break; +- default: /* shuts up compiler warning */ ++ default: ++ ; /* shuts up compiler warning */ + } + } + xrefresh(); +@@ -1056,6 +1057,7 @@ + *old = WEST; + break; + default: ++ ; + } + } + +@@ -1200,6 +1202,7 @@ + } + break; + default: ++ ; + } + } + +@@ -1236,6 +1239,7 @@ + } + break; + default: ++ ; + } + } + diff --git a/x11-wm/ahwm/files/patch-prefs.c b/x11-wm/ahwm/files/patch-prefs.c new file mode 100644 index 000000000000..b1b665435d41 --- /dev/null +++ b/x11-wm/ahwm/files/patch-prefs.c @@ -0,0 +1,20 @@ +--- prefs.c.orig Sun Feb 24 16:31:27 2002 ++++ prefs.c Fri Aug 6 21:36:57 2004 +@@ -642,7 +642,7 @@ + mouseunbinding_apply(client, lp->line_value.mouseunbinding); + break; + default: +- /* nothing */ ++ ; /* nothing */ + } + } + } +@@ -839,7 +839,7 @@ + p->raise_delay_set = opt->option_setting; + break; + default: +- /* nothing */ ++ ; /* nothing */ + } + } + |