From: Ingo Bürk Date: Mon, 1 Jun 2015 15:10:10 +0000 (+0200) Subject: Fix warning about potentially uninitialized variable. X-Git-Tag: 4.11~100^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F1734%2Fhead;p=i3%2Fi3 Fix warning about potentially uninitialized variable. --- diff --git a/src/startup.c b/src/startup.c index 41f18d00..b062ea8b 100644 --- a/src/startup.c +++ b/src/startup.c @@ -131,7 +131,7 @@ void startup_sequence_delete(struct Startup_Sequence *sequence) { * */ void start_application(const char *command, bool no_startup_id) { - SnLauncherContext *context; + SnLauncherContext *context = NULL; if (!no_startup_id) { /* Create a startup notification context to monitor the progress of this