Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/base/src/TBuffer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ void TBuffer::Expand(Int_t newsize, Bool_t copy)
if (fBuffer == 0) {
if (fReAllocFunc == TStorage::ReAllocChar) {
Fatal("Expand","Failed to expand the data buffer using TStorage::ReAllocChar.");
} if (fReAllocFunc == R__NoReAllocChar) {
} else if (fReAllocFunc == R__NoReAllocChar) {
Fatal("Expand","Failed to expand the data buffer because TBuffer does not own it and no custom memory reallocator was provided.");
} else {
Fatal("Expand","Failed to expand the data buffer using custom memory reallocator 0x%lx.", (Long_t)fReAllocFunc);
Expand Down
2 changes: 1 addition & 1 deletion core/meta/src/TCling.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -4008,7 +4008,7 @@ TInterpreter::DeclId_t TCling::GetDeclId( const llvm::GlobalValue *gv ) const

if (!strncmp(scopename.c_str(), "typeinfo for ", sizeof("typeinfo for ")-1)) {
scopename.erase(0, sizeof("typeinfo for ")-1);
} if (!strncmp(scopename.c_str(), "vtable for ", sizeof("vtable for ")-1)) {
} else if (!strncmp(scopename.c_str(), "vtable for ", sizeof("vtable for ")-1)) {
scopename.erase(0, sizeof("vtable for ")-1);
} else {
// See if it is a function
Expand Down