[rygel] tracker, tracker3: Add missing default clause
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tracker, tracker3: Add missing default clause
- Date: Wed, 29 Jul 2020 22:25:54 +0000 (UTC)
commit f67424bd5e6fa9c994bbb9c2da3d5ddf38d08e1c
Author: Jens Georg <mail jensge org>
Date: Thu Jul 30 00:23:31 2020 +0200
tracker, tracker3: Add missing default clause
src/plugins/tracker/rygel-tracker-search-container.vala | 4 ++++
src/plugins/tracker3/rygel-tracker-search-container.vala | 4 ++++
2 files changed, 8 insertions(+)
---
diff --git a/src/plugins/tracker/rygel-tracker-search-container.vala
b/src/plugins/tracker/rygel-tracker-search-container.vala
index 38ebc4a6..3875f6f1 100644
--- a/src/plugins/tracker/rygel-tracker-search-container.vala
+++ b/src/plugins/tracker/rygel-tracker-search-container.vala
@@ -350,6 +350,8 @@ public class Rygel.Tracker.SearchContainer : SimpleContainer {
case SearchCriteriaOp.CONTAINS:
value = expression.operand2;
break;
+ default:
+ break;
}
}
@@ -367,6 +369,8 @@ public class Rygel.Tracker.SearchContainer : SimpleContainer {
filter = "regex(" + variable + ", \"" + regex + "\", \"i\")";
break;
+ default:
+ break;
}
return filter;
diff --git a/src/plugins/tracker3/rygel-tracker-search-container.vala
b/src/plugins/tracker3/rygel-tracker-search-container.vala
index bf66d2dc..67fd59db 100644
--- a/src/plugins/tracker3/rygel-tracker-search-container.vala
+++ b/src/plugins/tracker3/rygel-tracker-search-container.vala
@@ -353,6 +353,8 @@ public class Rygel.Tracker.SearchContainer : SimpleContainer {
case SearchCriteriaOp.CONTAINS:
value = expression.operand2;
break;
+ default:
+ break;
}
}
@@ -370,6 +372,8 @@ public class Rygel.Tracker.SearchContainer : SimpleContainer {
filter = "regex(" + variable + ", \"" + regex + "\", \"i\")";
break;
+ default:
+ break;
}
return filter;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]