[rygel] media-export: Remove some nullables in MediaCache.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Remove some nullables in MediaCache.
- Date: Mon, 4 Feb 2013 15:44:31 +0000 (UTC)
commit a68c62d136e6771cec3e909b285f75b74f1428fe
Author: Krzesimir Nowak <krnowak openismus com>
Date: Mon Feb 4 16:37:45 2013 +0100
media-export: Remove some nullables in MediaCache.
Some functions either shouldn't (and they don't) receive NULL
parameters (otherwise they would crash) or never return NULL strings.
.../rygel-media-export-media-cache.vala | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-media-cache.vala b/src/plugins/media-export/rygel-media-export-media-cache.vala
index 79051e4..7e89ac9 100644
--- a/src/plugins/media-export/rygel-media-export-media-cache.vala
+++ b/src/plugins/media-export/rygel-media-export-media-cache.vala
@@ -837,9 +837,9 @@ public class Rygel.MediaExport.MediaCache : Object {
}
}
- private static string? logical_expression_to_sql
- (LogicalExpression? expression,
- GLib.ValueArray args)
+ private static string logical_expression_to_sql
+ (LogicalExpression expression,
+ GLib.ValueArray args)
throws Error {
string left_sql_string = MediaCache.search_expression_to_sql
(expression.operand1,
@@ -933,8 +933,8 @@ public class Rygel.MediaExport.MediaCache : Object {
}
private static string? relational_expression_to_sql
- (RelationalExpression? exp,
- GLib.ValueArray args)
+ (RelationalExpression exp,
+ GLib.ValueArray args)
throws Error {
GLib.Value? v = null;
string collate = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]