From 6cd1e51d1ea07e49da7267bd412af225ff9e60dc Mon Sep 17 00:00:00 2001 From: dota17 Date: Mon, 29 Jun 2020 11:27:14 +0800 Subject: [PATCH] add the comment //fallthrough --- src/emitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emitter.cpp b/src/emitter.cpp index 0eeaf2d..7defd43 100644 --- a/src/emitter.cpp +++ b/src/emitter.cpp @@ -783,9 +783,9 @@ const char* Emitter::ComputeNullName() const { case CamelNull: return "Null"; case TildeNull: + // fallthrough + default: return "~"; - default: // fallthrough - break; } }