Ensure gtk XDG editor handling never uses an unintialised value.

This commit is contained in:
Vincent Sanders 2015-04-17 09:34:52 +01:00
parent 402d740137
commit 82c1ed9f4a
1 changed files with 2 additions and 1 deletions

View File

@ -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;