rygel r528 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r528 - trunk/src/rygel
- Date: Thu, 29 Jan 2009 00:02:14 +0000 (UTC)
Author: zeeshanak
Date: Thu Jan 29 00:02:14 2009
New Revision: 528
URL: http://svn.gnome.org/viewvc/rygel?rev=528&view=rev
Log:
Remove an unneeded null check.
Modified:
trunk/src/rygel/rygel-content-directory.vala
Modified: trunk/src/rygel/rygel-content-directory.vala
==============================================================================
--- trunk/src/rygel/rygel-content-directory.vala (original)
+++ trunk/src/rygel/rygel-content-directory.vala Thu Jan 29 00:02:14 2009
@@ -327,7 +327,7 @@
out uint child_count)
throws GLib.Error {
var media_object = this.find_object_by_id (container_id);
- if (media_object == null || !(media_object is MediaContainer)) {
+ if (!(media_object is MediaContainer)) {
throw new ContentDirectoryError.NO_SUCH_OBJECT ("No such object");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]