Ensure cmd_off & extra_off are initialized before use.
---
 src/acquire.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/acquire.c b/src/acquire.c
index 4b6a847..831d13d 100644
--- a/src/acquire.c
+++ b/src/acquire.c
@@ -220,7 +220,8 @@ static void acquire ( VikWindow *vw, VikLayersPanel *vlp, 
VikViewport *vvp, VikD
   GtkWidget *dialog = NULL;
   GtkWidget *status;
   gchar *cmd, *extra;
-  gchar *cmd_off, *extra_off;
+  gchar *cmd_off = NULL;
+  gchar *extra_off = NULL;
   acq_dialog_widgets_t *w;
   gpointer user_data;
 
-- 
1.7.1


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to