mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-01 04:16:59 -05:00
This commit is contained in:
parent
075a8a6548
commit
c66c68b137
6 changed files with 23 additions and 23 deletions
|
|
@ -71,7 +71,7 @@ _action(const Branches::Ptr &branches_,
|
|||
total = 1;
|
||||
}
|
||||
|
||||
if(obranch == nullptr)
|
||||
if(!obranch)
|
||||
{
|
||||
best_used = used;
|
||||
best_total = total;
|
||||
|
|
@ -89,7 +89,7 @@ _action(const Branches::Ptr &branches_,
|
|||
obranch = &branch;
|
||||
}
|
||||
|
||||
if(obranch == nullptr)
|
||||
if(!obranch)
|
||||
return -error;
|
||||
|
||||
paths_.emplace_back(obranch);
|
||||
|
|
@ -132,7 +132,7 @@ _search(const Branches::Ptr &branches_,
|
|||
total = 1;
|
||||
}
|
||||
|
||||
if(obranch == nullptr)
|
||||
if(!obranch)
|
||||
{
|
||||
best_used = used;
|
||||
best_total = total;
|
||||
|
|
@ -150,7 +150,7 @@ _search(const Branches::Ptr &branches_,
|
|||
obranch = &branch;
|
||||
}
|
||||
|
||||
if(obranch == nullptr)
|
||||
if(!obranch)
|
||||
return -ENOENT;
|
||||
|
||||
paths_.emplace_back(obranch);
|
||||
|
|
@ -195,7 +195,7 @@ _create(const Branches::Ptr &branches_,
|
|||
total = 1;
|
||||
}
|
||||
|
||||
if(obranch == nullptr)
|
||||
if(!obranch)
|
||||
{
|
||||
best_used = used;
|
||||
best_total = total;
|
||||
|
|
@ -213,7 +213,7 @@ _create(const Branches::Ptr &branches_,
|
|||
obranch = &branch;
|
||||
}
|
||||
|
||||
if(obranch == nullptr)
|
||||
if(!obranch)
|
||||
return -error;
|
||||
|
||||
paths_.emplace_back(obranch);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue