[egg-list-box] flow-box: Fix uninitialised variable
- From: Michael Wood <mwood src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [egg-list-box] flow-box: Fix uninitialised variable
- Date: Sat, 20 Jul 2013 08:38:31 +0000 (UTC)
commit 039ba30a9d838f0aec8d52bad301b2036fe17b14
Author: Michael Wood <michael g wood intel com>
Date: Thu Jul 18 16:15:23 2013 +0100
flow-box: Fix uninitialised variable
Make sure boolean value is initialised as false until set.
egg-flow-box.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/egg-flow-box.c b/egg-flow-box.c
index 68b324c..245b73f 100644
--- a/egg-flow-box.c
+++ b/egg-flow-box.c
@@ -3555,7 +3555,7 @@ void
egg_flow_box_set_selection_mode (EggFlowBox *box,
GtkSelectionMode mode)
{
- gboolean dirty;
+ gboolean dirty = FALSE;
g_return_if_fail (EGG_IS_FLOW_BOX (box));
if (mode == box->priv->selection_mode)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]