Ensure gtk XDG editor handling never uses an unintialised value.
This commit is contained in:
parent
402d740137
commit
82c1ed9f4a
|
@ -827,7 +827,8 @@ editor_init_fname(const char *title,
|
|||
{
|
||||
char **xdg_data_vec;
|
||||
int veci;
|
||||
char *def_app_desktop; /* desktop file of default app for mimetype */
|
||||
/* desktop file of default app for mimetype */
|
||||
char *def_app_desktop = NULL;
|
||||
char *exec_cmd;
|
||||
char **argv;
|
||||
|
||||
|
|
Loading…
Reference in New Issue