Merge pull request #1734 from Airblader/bug-1538-1
Fix warning about potentially uninitialized variable.
This commit is contained in:
commit
27ec594c71
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue