* 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 76f22f5..885cd50 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 0756eb6..05998a3 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)));