[rygel] media-export: add assertion instead of comment
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] media-export: add assertion instead of comment
- Date: Tue, 15 Sep 2009 15:00:38 +0000 (UTC)
commit 7e9e618a1e5299d87f9d8682af84ac90c89ab809
Author: Jens Georg <mail jensge org>
Date: Sat Sep 12 01:20:08 2009 +0200
media-export: add assertion instead of comment
.../rygel-media-export-root-container.vala | 2 +-
1 files changed, 1 insertions(+), 1 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 97dd721..6a2ccdd 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -167,7 +167,7 @@ public class Rygel.MediaExportRootContainer : Rygel.MediaDBContainer {
if (parent_container != null) {
this.harvest (file, (MediaContainer)parent_container);
} else {
- // This should not happen
+ assert_not_reached ();
}
break;
case FileMonitorEvent.CHANGES_DONE_HINT:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]