aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.c
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>2009-05-29 02:59:57 +0800
committerPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>2009-05-29 02:59:57 +0800
commiteae07d39d08ef7568acd9b594dfd0172b1f7613d (patch)
tree7551ce1e42a4884bd75c4b9e17807dd3f228ce2a /libempathy-gtk/empathy-contact-widget.c
parentd151261308da99f44410da4f07b78dd56c0cb5f8 (diff)
downloadgsoc2013-empathy-eae07d39d08ef7568acd9b594dfd0172b1f7613d.tar
gsoc2013-empathy-eae07d39d08ef7568acd9b594dfd0172b1f7613d.tar.gz
gsoc2013-empathy-eae07d39d08ef7568acd9b594dfd0172b1f7613d.tar.bz2
gsoc2013-empathy-eae07d39d08ef7568acd9b594dfd0172b1f7613d.tar.lz
gsoc2013-empathy-eae07d39d08ef7568acd9b594dfd0172b1f7613d.tar.xz
gsoc2013-empathy-eae07d39d08ef7568acd9b594dfd0172b1f7613d.tar.zst
gsoc2013-empathy-eae07d39d08ef7568acd9b594dfd0172b1f7613d.zip
Fix ‘lat’, ‘lon’ may be used uninitialized in this function
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 9de8a6aad..6c1015364 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;