mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 15:06:33 -05:00
This commit is contained in:
parent
075a8a6548
commit
c66c68b137
6 changed files with 23 additions and 23 deletions
|
|
@ -65,7 +65,7 @@ _create(const Branches::Ptr &branches_,
|
|||
obranch = &branch;
|
||||
}
|
||||
|
||||
if(obranch == nullptr)
|
||||
if(!obranch)
|
||||
return -error;
|
||||
|
||||
paths_.emplace_back(obranch);
|
||||
|
|
@ -106,7 +106,7 @@ _action(const Branches::Ptr &branches_,
|
|||
obranch = &branch;
|
||||
}
|
||||
|
||||
if(obranch == nullptr)
|
||||
if(!obranch)
|
||||
return -error;
|
||||
|
||||
paths_.emplace_back(obranch);
|
||||
|
|
@ -141,7 +141,7 @@ _search(const Branches::Ptr &branches_,
|
|||
obranch = &branch;
|
||||
}
|
||||
|
||||
if(obranch == nullptr)
|
||||
if(!obranch)
|
||||
return -ENOENT;
|
||||
|
||||
paths_.emplace_back(obranch);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue