OSDN Git Service

* cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Dec 2003 01:54:43 +0000 (01:54 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Dec 2003 01:54:43 +0000 (01:54 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75030 138bc75d-0d04-0410-961f-82ee72b054a4

libiberty/ChangeLog
libiberty/cp-demangle.c

index 05a9b90..ada155d 100644 (file)
@@ -1,3 +1,7 @@
+2003-12-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
+
 2003-12-22  Daniel Jacobowitz  <drow@mvista.com>
 
        PR debug/13272
index b54cbe2..16871ab 100644 (file)
@@ -4085,8 +4085,7 @@ is_ctor_or_dtor (mangled, ctor_kind, dtor_kind)
          free (di.comps);
        if (di.subs != NULL)
          free (di.subs);
-       *palc = 1;
-       return NULL;
+       return 0;
       }
 #endif