Skip to content
Snippets Groups Projects
Commit 4e9f64ed authored by Enric Tejedor Saavedra's avatar Enric Tejedor Saavedra
Browse files

[Exp PyROOT] Coding conventions: add braces

parent e018648a
No related branches found
No related tags found
No related merge requests found
......@@ -314,8 +314,9 @@ PyObject *TryBranchPtrToPtrOverloads(int argc, PyObject *args)
&PyInt_Type, &bufsize,
&PyInt_Type, &splitlevel)) {
bIsMatch = true;
} else
} else {
PyErr_Clear();
}
}
if (bIsMatch) {
......@@ -339,8 +340,9 @@ PyObject *TryBranchPtrToPtrOverloads(int argc, PyObject *args)
klName = GetClass((CPPInstance *)address)->GetName();
argc += 1;
}
} else
} else {
Utility::GetBuffer(address, '*', 1, buf, false);
}
if (buf && !klName.empty()) {
TBranch *branch = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment