[rygel] media-export: Remove redundant null check



commit 76d277509faf90567e8248d7f0842bf2674132d7
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun Feb 14 18:34:30 2010 +0200

    media-export: Remove redundant null check

 .../rygel-media-export-root-container.vala         |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-root-container.vala b/src/plugins/media-export/rygel-media-export-root-container.vala
index 02fc038..29877c5 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -219,8 +219,7 @@ public class Rygel.MediaExportRootContainer : Rygel.MediaDBContainer {
             return;
         }
 
-        if (this.extractor != null &&
-            !this.harvester.contains (file)) {
+        if (!this.harvester.contains (file)) {
             var harvester = new MediaExportHarvester (parent,
                                                       this.media_db,
                                                       this.extractor,



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