]> git.sur5r.net Git - i3/i3/commitdiff
Fix warning about potentially uninitialized variable. 1734/head
authorIngo Bürk <ingo.buerk@tngtech.com>
Mon, 1 Jun 2015 15:10:10 +0000 (17:10 +0200)
committerIngo Bürk <ingo.buerk@tngtech.com>
Mon, 1 Jun 2015 15:10:10 +0000 (17:10 +0200)
src/startup.c

index 41f18d006ee23fbd981ef9f0f20a07d2323264cd..b062ea8ba0cb3af34d32d5a047dc5d84cdfeeb8f 100644 (file)
@@ -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