mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-12 19:03:10 +03:00
code clean up
* viewer/mcviewer.c: remove unused variable ‘enc’ * viewer/actions_cmd.c: remove superfluous param Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
This commit is contained in:
parent
8407f5fd9a
commit
d89306849c
@ -519,7 +519,7 @@ mcview_moveto_line_cmd (mcview_t * view)
|
||||
|
||||
g_snprintf (prompt, sizeof (prompt),
|
||||
_(" The current line number is %lld.\n"
|
||||
" Enter the new line number:"), (line + 1), "");
|
||||
" Enter the new line number:"), (line + 1));
|
||||
answer = input_dialog (_(" Goto line "), prompt, MC_HISTORY_VIEW_GOTO_LINE, "");
|
||||
if (answer != NULL && answer[0] != '\0') {
|
||||
errno = 0;
|
||||
|
@ -275,7 +275,6 @@ mcview_load (mcview_t * view, const char *command, const char *file, int start_l
|
||||
int i, type;
|
||||
int fd = -1;
|
||||
char tmp[BUF_MEDIUM];
|
||||
const char *enc;
|
||||
char *canon_fname;
|
||||
struct stat st;
|
||||
#ifdef HAVE_CHARSET
|
||||
|
Loading…
x
Reference in New Issue
Block a user