[empathy] Fix ‘lat’, ‘lon’ may be used uninitialized in this function
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] Fix ‘lat’, ‘lon’ may be used uninitialized in this function
- Date: Thu, 28 May 2009 15:02:06 -0400 (EDT)
commit eae07d39d08ef7568acd9b594dfd0172b1f7613d
Author: Pierre-Luc Beaudoin <pierre-luc beaudoin collabora co uk>
Date: Thu May 28 14:59:57 2009 -0400
Fix â??latâ??, â??lonâ?? may be used uninitialized in this function
---
libempathy-gtk/empathy-contact-widget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 9de8a6a..6c10153 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -1295,7 +1295,7 @@ contact_widget_location_update (EmpathyContactWidget *information)
{
GHashTable *location;
GValue *value;
- gdouble lat, lon;
+ gdouble lat = 0.0, lon = 0.0;
gboolean has_position = TRUE;
GtkWidget *label;
guint row = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]