[libgdata] demos: Silence -Wmaybe-uninitialized
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] demos: Silence -Wmaybe-uninitialized
- Date: Wed, 3 Jun 2015 15:04:52 +0000 (UTC)
commit d5447497569ad720096828705de48bffe860bf9a
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Jun 3 14:07:47 2015 +0200
demos: Silence -Wmaybe-uninitialized
Fall out from 0e42b9d0e64aaf9f4d04eeab29d860a68209ff61
https://bugzilla.gnome.org/show_bug.cgi?id=750335
demos/calendar/calendar-cli.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/demos/calendar/calendar-cli.c b/demos/calendar/calendar-cli.c
index 8273285..8fcf134 100644
--- a/demos/calendar/calendar-cli.c
+++ b/demos/calendar/calendar-cli.c
@@ -246,6 +246,8 @@ command_calendars (int argc, char *argv[])
} else if (g_strcmp0 (argv[2], "--all") == 0 ||
g_strcmp0 (argv[2], "--own") == 0) {
only_own = (g_strcmp0 (argv[2], "--own") == 0);
+ } else {
+ only_own = FALSE;
}
/* Authenticate and create a service. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]