[gnome-panel/wip/gnome-3.10+: 40/75] clock: remove unused variable
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip/gnome-3.10+: 40/75] clock: remove unused variable
- Date: Tue, 7 Oct 2014 22:29:21 +0000 (UTC)
commit be099e062e52aed5dc0334cdd6809b44cecc1510
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Jul 9 17:18:56 2014 +0300
clock: remove unused variable
applets/clock/calendar-window.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/applets/clock/calendar-window.c b/applets/clock/calendar-window.c
index 50b92b1..51762e8 100644
--- a/applets/clock/calendar-window.c
+++ b/applets/clock/calendar-window.c
@@ -144,7 +144,6 @@ clock_launch_calendar_tasks_app (CalendarWindow *calwin,
{
GSettings *settings;
char **argv;
- int argc;
char *program;
gboolean terminal;
char *command_line;
@@ -179,11 +178,9 @@ clock_launch_calendar_tasks_app (CalendarWindow *calwin,
g_free (command_line);
if (argument) {
- argc = 2;
argv = g_new0 (char *, 3);
argv[1] = g_strdup (argument);
} else {
- argc = 1;
argv = g_new0 (char *, 2);
}
argv[0] = program; /* no strdup, and it will get freed for free */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]