]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tweak
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Aug 1998 17:25:32 +0000 (17:25 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Aug 1998 17:25:32 +0000 (17:25 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21797 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/tree.c

index 685810ae5045eb0b7ab057b6d805ec8fceb7c7e9..44d36b99f230d46f21550148df2e12e58d886a38 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;