[tracker/rss-enclosures] tracker-search-bar: Comparison with unsigned integer (enum) is always true
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] tracker-search-bar: Comparison with unsigned integer (enum) is always true
- Date: Mon, 3 May 2010 00:41:53 +0000 (UTC)
commit 1678f0c8957ffdaa784f52f8b2ee9ed8585e0abe
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Apr 22 14:09:53 2010 +0200
tracker-search-bar: Comparison with unsigned integer (enum) is always true
src/tracker-search-bar/tracker-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-search-bar/tracker-utils.c b/src/tracker-search-bar/tracker-utils.c
index 6ea439f..f3f8691 100644
--- a/src/tracker-search-bar/tracker-utils.c
+++ b/src/tracker-search-bar/tracker-utils.c
@@ -99,7 +99,7 @@ tracker_regex_match (TrackerRegExType type,
gint offset = 0;
gint i;
- g_return_val_if_fail (type >= 0 || type <= TRACKER_REGEX_ALL, 0);
+ g_return_val_if_fail (type <= TRACKER_REGEX_ALL, 0);
regex_init ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]