[gnome-calendar] build: stop complaints from gcc
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] build: stop complaints from gcc
- Date: Thu, 4 Dec 2014 22:38:54 +0000 (UTC)
commit 605cb7fc25bd78e82df13cadfca973de4396f311
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Mon Oct 20 23:57:30 2014 -0400
build: stop complaints from gcc
Gcc complaints this variable may be used uninitialized
src/gcal-event-widget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-event-widget.c b/src/gcal-event-widget.c
index b612af8..0da49c5 100644
--- a/src/gcal-event-widget.c
+++ b/src/gcal-event-widget.c
@@ -532,8 +532,8 @@ gcal_event_widget_draw (GtkWidget *widget,
gint x,y;
gint width, height;
- gint icon_size;
gint left_gap;
+ gint icon_size = 0;
PangoLayout *layout;
PangoRectangle logical_rect;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]