[empathy] EmpathyDebugger: Initialize gint argc as 0
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] EmpathyDebugger: Initialize gint argc as 0
- Date: Mon, 23 Sep 2013 08:35:16 +0000 (UTC)
commit 0190fc7fa45c0693f1cfa1be4cb5a3b4b2b329b3
Author: Igor Gnatenko <i gnatenko brain gmail com>
Date: Thu Sep 19 23:53:27 2013 +0400
EmpathyDebugger: Initialize gint argc as 0
Since f451000063d5e20b337d2a8d7b0d7faf6429af6b empathy-debugger crashes
on start, because have cycle w/ argc++, but argc is uninitialized.
Reference: https://bugzilla.gnome.org/show_bug.cgi?id=708403
Signed-off-by: Igor Gnatenko <i gnatenko brain gmail com>
src/empathy-debugger.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-debugger.c b/src/empathy-debugger.c
index 1d70ef9..6b5b828 100644
--- a/src/empathy-debugger.c
+++ b/src/empathy-debugger.c
@@ -66,7 +66,7 @@ local_cmdline (GApplication *app,
GError *error = NULL;
GSimpleAction *action;
gchar **argv;
- gint argc;
+ gint argc = 0;
gint i;
gboolean retval = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]