From 276318a57f61baf531633700b9678f92273f5573 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 26 Nov 2004 15:45:47 +0000 Subject: [PATCH] * typeck.c: Fix a comment typo. From-SVN: r91340 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/typeck.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6a8aea8e4e1..65bf6e0e55a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-11-26 Kazu Hirata + + * typeck.c: Fix a comment typo. + 2004-11-25 Mark Mitchell PR c++/18445 diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index 149a38896c7..1bd12e71a3b 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -6230,7 +6230,7 @@ check_return_expr (tree retval) /* Remember that this function did return a value. */ current_function_returns_value = 1; - /* Check for errnoneous operands -- but after giving ourselves a + /* Check for erroneous operands -- but after giving ourselves a chance to provide an error about returning a value from a void function. */ if (error_operand_p (retval)) -- 2.30.2