rygel r319 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r319 - trunk/src/rygel
- Date: Sat, 29 Nov 2008 23:19:45 +0000 (UTC)
Author: zeeshanak
Date: Sat Nov 29 23:19:45 2008
New Revision: 319
URL: http://svn.gnome.org/viewvc/rygel?rev=319&view=rev
Log:
Initialize the local variables.
Modified:
trunk/src/rygel/rygel-media-server-factory.vala
Modified: trunk/src/rygel/rygel-media-server-factory.vala
==============================================================================
--- trunk/src/rygel/rygel-media-server-factory.vala (original)
+++ trunk/src/rygel/rygel-media-server-factory.vala Sat Nov 29 23:19:45 2008
@@ -56,7 +56,7 @@
string gconf_path = ROOT_GCONF_PATH + plugin.name + "/";
string modified_desc = DESC_PREFIX + "-" + plugin.name + ".xml";
- bool enable_xbox;
+ bool enable_xbox = false;
try {
enable_xbox = this.gconf.get_bool (gconf_path + "enable-xbox");
} catch (GLib.Error error) {
@@ -148,7 +148,7 @@
private string get_str_from_gconf (string key,
string default_value) {
- string str;
+ string str = null;
try {
str = this.gconf.get_string (key);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]