mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-05 06:10:10 -05:00
cleanup function signatures and definitions
This commit is contained in:
parent
6cc6524997
commit
ec15872a1f
112 changed files with 743 additions and 820 deletions
12
src/rv.hpp
12
src/rv.hpp
|
|
@ -21,15 +21,15 @@ namespace error
|
|||
static
|
||||
inline
|
||||
int
|
||||
calc(const int rv,
|
||||
const int prev,
|
||||
const int cur)
|
||||
calc(const int rv_,
|
||||
const int prev_,
|
||||
const int cur_)
|
||||
{
|
||||
if(rv == -1)
|
||||
if(rv_ == -1)
|
||||
{
|
||||
if(prev == 0)
|
||||
if(prev_ == 0)
|
||||
return 0;
|
||||
return cur;
|
||||
return cur_;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue