* typeck2.c (digest_init_r): Remove commented code.
authorMarek Polacek <polacek@redhat.com>
Mon, 11 Feb 2019 19:46:54 +0000 (19:46 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 11 Feb 2019 19:46:54 +0000 (19:46 +0000)
From-SVN: r268779

gcc/cp/ChangeLog
gcc/cp/typeck2.c

index 76f22f5e363f32648d474774eb65516a851cafdb..885cd5056534d6cdd715e565b459bb7075a9c4fd 100644 (file)
@@ -1,3 +1,7 @@
+2019-02-11  Marek Polacek  <polacek@redhat.com>
+
+       * typeck2.c (digest_init_r): Remove commented code.
+
 2019-02-11  Martin Sebor  <msebor@redhat.com>
 
        PR c++/87996
index 0756eb64872638844a922fb4fd45ee3be1caf4ba..05998a3dc17aa2982ce462a79dd6f4c0c2e9293d 100644 (file)
@@ -1099,7 +1099,6 @@ digest_init_r (tree type, tree init, int nested, int flags,
 
       tree typ1 = TYPE_MAIN_VARIANT (TREE_TYPE (type));
       if (char_type_p (typ1)
-         /*&& init */
          && TREE_CODE (stripped_init) == STRING_CST)
        {
          tree char_type = TYPE_MAIN_VARIANT (TREE_TYPE (TREE_TYPE (init)));