Package: zh-autoconvert / 0.3.16-5

004-delete-empty-default-label-for-gcc-3.4.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Description: Delete empty default labels to make it build with gcc-3.4
 Fixes Bug#264156: "FTBFS with gcc-3.4: label at end of compound statement"
 reported by Andreas Jochens <aj@andaco.de> on 2004-08-07.
 .
 Committed to zh-autoconvert (0.3.14-2) on 2004-08-07.
Author: Andreas Jochens <aj@andaco.de>
Origin: vendor, 
Bug-Debian: https://bugs.debian.org/264156
Forwarded: no
Reviewed-by: Yu Guanghui <ygh@debian.org>
Last-Update: 2015-11-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/contrib/xchat-plugins/xchat-autob5.c
+++ b/contrib/xchat-plugins/xchat-autob5.c
@@ -88,8 +88,6 @@ int	autob5_chanmsg (struct server *serv,
 			PrintText(sess," Big\n");
 #endif
 			break;
-		default:
-			;
 	}
 
 	XP_CALLNEXT(chanmsg_next, serv, channel, from, text, a, c);
@@ -127,8 +125,6 @@ int	autob5_privmsg (struct server *serv,
 			PrintText(sess," Big\n");
 #endif
 			break;
-		default:
-			;
 	}
 
 	XP_CALLNEXT(privmsg_next, serv, from, ip, text, a, c);
--- a/contrib/xchat-plugins/xchat-autogb.c
+++ b/contrib/xchat-plugins/xchat-autogb.c
@@ -88,8 +88,6 @@ int	autogb_chanmsg (struct server *serv,
 			PrintText(sess," Big\n");
 #endif
 			break;
-		default:
-			;
 	}
 
 	XP_CALLNEXT(chanmsg_next, serv, channel, from, text, a, c);
@@ -127,8 +125,6 @@ int	autogb_privmsg (struct server *serv,
 			PrintText(sess," Big\n");
 #endif
 			break;
-		default:
-			;
 	}
 
 	XP_CALLNEXT(privmsg_next, serv, from, ip, text, a, c);