[libgxps] lib: Document explicit fall-through case in glyph parser
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgxps] lib: Document explicit fall-through case in glyph parser
- Date: Thu, 22 Dec 2016 14:53:44 +0000 (UTC)
commit 54448854ac2b1415331dbf3ce50a15ecacfe2bca
Author: Philip Withnall <withnall endlessm com>
Date: Tue Dec 20 19:36:01 2016 +0000
lib: Document explicit fall-through case in glyph parser
Make it clear that this is not an accidentally missing break statement.
Coverity ID: 1391237
https://bugzilla.gnome.org/show_bug.cgi?id=776323
libgxps/gxps-glyphs.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgxps/gxps-glyphs.c b/libgxps/gxps-glyphs.c
index 0618720..d0c5154 100644
--- a/libgxps/gxps-glyphs.c
+++ b/libgxps/gxps-glyphs.c
@@ -366,6 +366,7 @@ glyphs_indices_parse (const char *indices,
break;
case GI_TOKEN_EOF:
eof = TRUE;
+ /* fall through */
case GI_TOKEN_SEMICOLON: {
cairo_text_extents_t extents;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]