From e3a12f0cb1d544f7b86c93f3073c0a6459f2f394 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 7 Sep 1993 21:46:24 +0000 Subject: (digest_init): Fix error message text. From-SVN: r5277 --- gcc/c-typeck.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'gcc') diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 91fff29..e215b22 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -5002,16 +5002,12 @@ digest_init (type, init, require_constant, constructor_constant) if (code == INTEGER_TYPE || code == REAL_TYPE || code == POINTER_TYPE || code == ENUMERAL_TYPE || code == COMPLEX_TYPE) { - SAVE_SPELLING_DEPTH - ({ - /* Note that convert_for_assignment calls default_conversion - for arrays and functions. We must not call it in the - case where inside_init is a null pointer constant. */ - inside_init - = convert_for_assignment (type, init, - &initialization_message, - NULL_TREE, NULL_TREE, 0); - }); + /* Note that convert_for_assignment calls default_conversion + for arrays and functions. We must not call it in the + case where inside_init is a null pointer constant. */ + inside_init + = convert_for_assignment (type, init, "initialization", + NULL_TREE, NULL_TREE, 0); if (require_constant && ! TREE_CONSTANT (inside_init)) { -- cgit v1.1