(find_do_view_edit): Remove unused variable. Found by PVS-Studio:V575

Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
This commit is contained in:
Andrew V. Samoilov 2019-01-24 17:56:30 +02:00 committed by Andrew Borodin
parent 1fd726e70c
commit 326ecb9207

View File

@ -1428,7 +1428,6 @@ static void
find_do_view_edit (gboolean unparsed_view, gboolean edit, char *dir, char *file, off_t search_start,
off_t search_end)
{
char *fullname = NULL;
const char *filename = NULL;
int line;
vfs_path_t *fullname_vpath;
@ -1451,7 +1450,6 @@ find_do_view_edit (gboolean unparsed_view, gboolean edit, char *dir, char *file,
view_file_at_line (fullname_vpath, unparsed_view, use_internal_view, line, search_start,
search_end);
vfs_path_free (fullname_vpath);
g_free (fullname);
}
/* --------------------------------------------------------------------------------------------- */