mirror of git://git.sv.gnu.org/nano.git
tweaks: delete two functions that are never executed
Those two operations are performed directly in do_browser().
This commit is contained in:
parent
2b9c0c5724
commit
07c1ac9035
|
@ -749,18 +749,6 @@ void do_fileresearch(bool forwards)
|
|||
findfile(last_search, forwards);
|
||||
}
|
||||
|
||||
/* Select the first file in the list. */
|
||||
void to_first_file(void)
|
||||
{
|
||||
selected = 0;
|
||||
}
|
||||
|
||||
/* Select the last file in the list. */
|
||||
void to_last_file(void)
|
||||
{
|
||||
selected = filelist_len - 1;
|
||||
}
|
||||
|
||||
/* Strip one element from the end of path, and return the stripped path.
|
||||
* The returned string is dynamically allocated, and should be freed. */
|
||||
char *strip_last_component(const char *path)
|
||||
|
|
|
@ -298,6 +298,12 @@ void flip_goto(void)
|
|||
void to_files(void)
|
||||
{
|
||||
}
|
||||
void to_first_file(void)
|
||||
{
|
||||
}
|
||||
void to_last_file(void)
|
||||
{
|
||||
}
|
||||
void goto_dir(void)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -194,8 +194,6 @@ void browser_refresh(void);
|
|||
void browser_select_dirname(const char *needle);
|
||||
void do_filesearch(bool forwards);
|
||||
void do_fileresearch(bool forwards);
|
||||
void to_first_file(void);
|
||||
void to_last_file(void);
|
||||
char *strip_last_component(const char *path);
|
||||
#endif
|
||||
|
||||
|
@ -654,6 +652,8 @@ void flip_replace(void);
|
|||
void flip_goto(void);
|
||||
#ifdef ENABLE_BROWSER
|
||||
void to_files(void);
|
||||
void to_first_file(void);
|
||||
void to_last_file(void);
|
||||
void goto_dir(void);
|
||||
#endif
|
||||
#ifndef NANO_TINY
|
||||
|
|
Loading…
Reference in New Issue