summaryrefslogtreecommitdiff
path: root/devel/cqual/patches/patch-aa
blob: 4f9805332b53e05f5a7708b8762b9774d2b9cd08 (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
$NetBSD: patch-aa,v 1.2 2006/03/02 19:56:24 wiz Exp $

Removed C++-style comments.

--- src/qtype.c.orig	2003-10-06 21:28:57.000000000 +0000
+++ src/qtype.c
@@ -774,7 +774,7 @@ static void mktoplev_struct_cons_qtype(l
   }
   else if (exists_fieldflow_qual && fqt && (qtype_struct(qt) || qtype_union(qt))) {
     qual outer = qual_qtype(qt);
-    qual inner;
+    qual inner = outer;
 
     if (qtype_pointer(fqt))
       inner = qual_qtype(points_to_qtype(fqt));
@@ -1156,7 +1156,7 @@ qtype get_fdecl_qtype(const char *tag_na
   type lifted_t;
   struct ctq_info ctqi;
   const char *fname;
-  char *name = NULL;// = field_decl_name(fdecl);
+  char *name = NULL;
   qtype result;
 
   fname = field_decl_name(fdecl) ? field_decl_name(fdecl) : "(anonymous)";
@@ -3352,8 +3352,6 @@ static bool mkXeq_qtype(location loc, qu
 	      new_link = t1;
 	    }
 	      
-	  //new_ecr->u.tag.defined |= new_link->u.tag.defined;
-	  //new_ecr->u.tag.transparent_union |= new_link->u.tag.transparent_union;
 	  ecr_fields = new_ecr->u.tag.fields;
 	  ecr_name = new_ecr->u.tag.name;
 	  kind = (t1->kind == tk_struct) ? "struct" : "union";