mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 00:14:57 +08:00
Pass a struct stat by const reference instead of by value
This commit is contained in:
parent
92d0d98a24
commit
c5ed4e5cdf
@ -448,7 +448,7 @@ static wcstring file_get_desc(const wcstring &filename,
|
||||
int lstat_res,
|
||||
const struct stat &lbuf,
|
||||
int stat_res,
|
||||
struct stat buf,
|
||||
const struct stat &buf,
|
||||
int err)
|
||||
{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user