Misc cleanup
Some checks failed
mkdocs / deploy (push) Has been cancelled

This commit is contained in:
Antonio SJ Musumeci 2026-03-01 14:47:50 -06:00 • committed by trapexit
parent 075a8a6548
commit c66c68b137
6 changed files with 23 additions and 23 deletions

View file

@ -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);