[tracker] TrackerParser: Add /* Fall through */ comments wherever appropriate.



commit decd9925a78e84026d7c0eec6ddbc3a46539c27b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue May 4 15:51:08 2010 +0200

    TrackerParser: Add /* Fall through */ comments wherever appropriate.

 src/libtracker-fts/tracker-parser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-fts/tracker-parser.c b/src/libtracker-fts/tracker-parser.c
index 4ff2991..bd9326f 100644
--- a/src/libtracker-fts/tracker-parser.c
+++ b/src/libtracker-fts/tracker-parser.c
@@ -403,6 +403,7 @@ parser_next (TrackerParser *parser,
 		case TRACKER_PARSER_WORD_ASCII_HIGHER:
 			c += 32;
 
+                        /* Fall through */
 		case TRACKER_PARSER_WORD_ASCII_LOWER:
 		case TRACKER_PARSER_WORD_HYPHEN:
 		case TRACKER_PARSER_WORD_UNDERSCORE:
@@ -427,6 +428,7 @@ parser_next (TrackerParser *parser,
 		case TRACKER_PARSER_WORD_ALPHA_HIGHER:
 			c = g_unichar_tolower (c);
 
+			/* Fall through */
 		case TRACKER_PARSER_WORD_ALPHA_LOWER:
 			if (!do_strip) {
 				do_strip = TRUE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]