moonshot-dbus-server: Initialize return array
authorJavier Jardón <javier.jardon@codethink.co.uk>
Thu, 19 May 2011 10:38:36 +0000 (11:38 +0100)
committerJavier Jardón <javier.jardon@codethink.co.uk>
Thu, 19 May 2011 10:38:36 +0000 (11:38 +0100)
src/moonshot-dbus-server.vala

index 0d4b7d7..dde1d86 100644 (file)
@@ -18,7 +18,7 @@ public class MoonshotServer : Object {
                                         string password,
                                         string service)
     {
-        string[3] information = new string[3];
+        string[3] information = {"", "", ""};
 
         main_window.set_callback (get_identity.callback);
         yield;