From 081da6b880f2a47bd7f3cf578315aaf598b34978 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Fri, 16 Feb 2018 19:32:10 +0000 Subject: Fix more fallthroughs before reenabling -Wimplicit-fallthrough. Change-Id: Ic1d5a250fc00d6767cee7eee1b2d74d5e1caa2bb Reviewed-on: https://pdfium-review.googlesource.com/27050 Reviewed-by: Tom Sepez Reviewed-by: Ryan Harrison Commit-Queue: Henrique Nakashima --- core/fpdfapi/render/cpdf_renderstatus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/fpdfapi/render/cpdf_renderstatus.cpp b/core/fpdfapi/render/cpdf_renderstatus.cpp index 6525164547..0a01ae0ccf 100644 --- a/core/fpdfapi/render/cpdf_renderstatus.cpp +++ b/core/fpdfapi/render/cpdf_renderstatus.cpp @@ -1766,7 +1766,7 @@ bool CPDF_RenderStatus::ProcessText(CPDF_TextObject* textobj, // Already handled above, but the compiler is not smart enough to // realize it. Fall through. NOTREACHED(); - FX_FALLTHROUGH; + return true; case TextRenderingMode::MODE_CLIP: return true; } -- cgit v1.2.3