summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index be4b03cc7dd..cae8046d8e9 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -833,7 +833,7 @@ diagnostic_count_diagnostic (diagnostic_context *context,
if (context->internal_error)
(*context->internal_error) (diagnostic->message.format_spec,
diagnostic->message.args_ptr);
- /* fall through */
+ /* Fall through. */
case DK_FATAL: case DK_SORRY:
case DK_ANACHRONISM: case DK_NOTE:
@@ -857,7 +857,7 @@ diagnostic_count_diagnostic (diagnostic_context *context,
context->warnings_are_errors_message = false;
}
- /* and fall through */
+ /* And fall through. */
case DK_ERROR:
++diagnostic_kind_count (context, DK_ERROR);
break;