mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(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:
parent
1fd726e70c
commit
326ecb9207
@ -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);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user