tweak
authorJason Merrill <jason@gcc.gnu.org>
Mon, 17 Aug 1998 17:25:32 +0000 (13:25 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 17 Aug 1998 17:25:32 +0000 (13:25 -0400)
From-SVN: r21797

gcc/cp/tree.c

index 685810a..44d36b9 100644 (file)
@@ -2368,7 +2368,7 @@ lvalue_type (arg)
   tree type = TREE_TYPE (arg);
   if (TREE_CODE (arg) == OVERLOAD)
     type = unknown_type_node;
-  if (TREE_CODE (type) != ARRAY_TYPE)
+  else if (TREE_CODE (type) != ARRAY_TYPE)
     type = cp_build_type_variant
       (type, TREE_READONLY (arg), TREE_THIS_VOLATILE (arg));
   return type;