From d921529f7990cd0b97afc034d80a2f73462e8311 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 3 Jun 2010 17:19:57 +0000 Subject: [PATCH] Fixed uninitialized class member --- src/phone.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/phone.c b/src/phone.c index 2df1287..6ed69f3 100644 --- a/src/phone.c +++ b/src/phone.c @@ -298,6 +298,7 @@ Phone * phone_new(char const * device, unsigned int baudrate, int retry, phone->bold = pango_font_description_new(); pango_font_description_set_weight(phone->bold, PANGO_WEIGHT_BOLD); phone->ca_window = NULL; + phone->en_code = -1; phone->en_window = NULL; phone->en_progress = NULL; phone->co_window = NULL;