Merge pull request #1734 from Airblader/bug-1538-1

Fix warning about potentially uninitialized variable.
This commit is contained in:
Michael Stapelberg 2015-06-02 08:33:41 +02:00
commit 27ec594c71

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