summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe/y.tab.cpp.diff
blob: 0357abf4ae101f80547f708a280d3e4b86168ec8 (plain)
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
--- y.tab.cpp.orig	2005-01-28 10:00:07.000000000 -0600
+++ y.tab.cpp	2005-01-28 10:07:56.000000000 -0600
@@ -1758,11 +1758,6 @@
   else
     TAO_YYFPRINTF (tao_yyoutput, "nterm %s (", tao_yytname[tao_yytype]);
 
-  switch (tao_yytype)
-    {
-      default:
-        break;
-    }
   TAO_YYFPRINTF (tao_yyoutput, ")");
 }
 
@@ -1782,14 +1777,9 @@
 #endif
 {
   /* Pacify ``unused variable'' warnings.  */
+  (void) tao_yytype;
   (void) tao_yyvaluep;
 
-  switch (tao_yytype)
-    {
-
-      default:
-        break;
-    }
 }
 
 
@@ -7687,7 +7677,7 @@
 `---------------------------------------------------*/
 tao_yyerrorlab:
 
-#ifdef __GNUC__
+#if defined (__GNUC__) || defined (WIN32) || defined (__HP_aCC)
   /* Pacify GCC when the user code never invokes TAO_YYERROR and the label
      tao_yyerrorlab therefore never appears in user code.  */
   if (0)