Commit f9fb2d27 by Marek Polacek Committed by Marek Polacek

* typeck2.c (digest_init_r): Remove commented code.

From-SVN: r268779
parent 62b835cd
2019-02-11 Marek Polacek <polacek@redhat.com>
* typeck2.c (digest_init_r): Remove commented code.
2019-02-11 Martin Sebor <msebor@redhat.com> 2019-02-11 Martin Sebor <msebor@redhat.com>
PR c++/87996 PR c++/87996
......
...@@ -1099,7 +1099,6 @@ digest_init_r (tree type, tree init, int nested, int flags, ...@@ -1099,7 +1099,6 @@ digest_init_r (tree type, tree init, int nested, int flags,
tree typ1 = TYPE_MAIN_VARIANT (TREE_TYPE (type)); tree typ1 = TYPE_MAIN_VARIANT (TREE_TYPE (type));
if (char_type_p (typ1) if (char_type_p (typ1)
/*&& init */
&& TREE_CODE (stripped_init) == STRING_CST) && TREE_CODE (stripped_init) == STRING_CST)
{ {
tree char_type = TYPE_MAIN_VARIANT (TREE_TYPE (TREE_TYPE (init))); tree char_type = TYPE_MAIN_VARIANT (TREE_TYPE (TREE_TYPE (init)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment