Fix warning about potentially uninitialized variable.

This commit is contained in:
Ingo Bürk 2015-06-01 17:10:10 +02:00
parent 9a117767e8
commit dd2e10868c

View 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