mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
ncls: cover up some unused-param warnings
This commit is contained in:
parent
55694ef966
commit
067aaa9bbb
@ -35,7 +35,8 @@ handle_path(int dirfd, std::filesystem::path& dir, const char* p, const lsContex
|
||||
// handle a single inode of arbitrary type
|
||||
static int
|
||||
handle_inode(std::filesystem::path& dir, const char* p, const struct stat* st, const lsContext& ctx){
|
||||
std::cout << p << std::endl; // FIXME handle symlink (dereflinks)
|
||||
(void)st; // FIXME handle symlink (dereflinks)
|
||||
std::cout << p << std::endl;
|
||||
auto s = dir / p;
|
||||
ctx.nc.render_image(s.c_str(), NCALIGN_RIGHT, NCBLIT_3x2, NCSCALE_SCALE);
|
||||
return 0;
|
||||
@ -85,7 +86,9 @@ handle_dir(int dirfd, std::filesystem::path& pdir, const char* p, const struct s
|
||||
|
||||
static int
|
||||
handle_deref(const char* p, const struct stat* st, const lsContext& ctx){
|
||||
// FIXME dereference and rerun on target
|
||||
(void)p;
|
||||
(void)st;
|
||||
(void)ctx; // FIXME dereference and rerun on target
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user