pt.c (determine_explicit_specialization): Initialize "dummy" to keep Purify quiet.
authorJudy Goldberg <judygold@sanwafp.com>
Thu, 16 Oct 1997 21:33:36 +0000 (21:33 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 16 Oct 1997 21:33:36 +0000 (15:33 -0600)
        * pt.c (determine_explicit_specialization): Initialize "dummy"
        to keep Purify quiet.

From-SVN: r15938

gcc/cp/ChangeLog
gcc/cp/pt.c

index a278b09edc3b6ccaa16ff0e70bd74f37d2156673..0049abf9ff0dad61088dc89b53a6e2d17fd5fafd 100644 (file)
@@ -1,3 +1,8 @@
+Thu Oct 16 15:31:09 1997  Judy Goldberg <judygold@sanwafp.com>
+
+       * pt.c (determine_explicit_specialization): Initialize "dummy"
+       to keep Purify quiet.
+
 Thu Oct 16 00:14:48 1997  Jason Merrill  <jason@yorick.cygnus.com>
 
        * method.c (build_overload_value): Handle TEMPLATE_CONST_PARMs here.
index 1e342e8fed6f4a8081d137dd3c0b29034ac34d80..df453fc78560db4ece5ba8fd6aca5128f3eac028 100644 (file)
@@ -367,7 +367,7 @@ determine_explicit_specialization (template_id, type, targs_out,
        fn != NULL_TREE; 
        fn = overloaded ? DECL_CHAIN (fn) : NULL_TREE)
     {
-      int dummy;
+      int dummy = 0;
       tree targs;
 
       if (name == NULL_TREE)