Commit Diff
--- got/got.c +++ got/got.c @@ -237,6 +237,8 @@ get_editor(char **abspath) { const struct got_error *err = NULL; const char *editor; + + *abspath = NULL; editor = getenv("VISUAL"); if (editor == NULL)
--- got/got.c +++ got/got.c @@ -237,6 +237,8 @@ get_editor(char **abspath) { const struct got_error *err = NULL; const char *editor; + + *abspath = NULL; editor = getenv("VISUAL"); if (editor == NULL)