[rygel] media-db: Remove unused variable



commit 75f975995c21f52983207e15042cd6f3dd3f3839
Author: Jens Georg <mail jensge org>
Date:   Sun Jan 31 14:53:42 2010 +0100

    media-db: Remove unused variable

 src/rygel/rygel-media-db.vala |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/rygel/rygel-media-db.vala b/src/rygel/rygel-media-db.vala
index a454356..654cf51 100644
--- a/src/rygel/rygel-media-db.vala
+++ b/src/rygel/rygel-media-db.vala
@@ -787,10 +787,8 @@ public class Rygel.MediaDB : Object {
 
     private string? search_expression_to_sql (SearchExpression? expression,
                                               GLib.ValueArray   args) {
-        string result = null;
-
         if (expression == null) {
-            return result;
+            return null;
         }
 
         if (expression is LogicalExpression) {



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