Skip to content
Snippets Groups Projects
Commit 42622ee9 authored by Philippe Canal's avatar Philippe Canal
Browse files

extend fix for cov 10648

git-svn-id: http://root.cern.ch/svn/root/trunk@35980 27541ba8-7e3a-0410-8455-c3a389f83636
parent 83b2efdb
No related branches found
No related tags found
No related merge requests found
......@@ -118,9 +118,9 @@ void TTableDescriptor::AddAt(const void *c, Int_t i)
if (c) {
tableDescriptor_st *element = (tableDescriptor_st *)c;
#ifdef NORESTRICTIONS
const char *comment = element->fColumnName[0] ? element->fColumnName : "N/A";
const char *comment = element->fColumnName && element->fColumnName[0] ? element->fColumnName : "N/A";
#else
const char *comment = element->fColumnName ? element->fColumnName : "N/A";
const char *comment = element->fColumnName[0] ? element->fColumnName : "N/A";
#endif
AddAt(*(tableDescriptor_st *)c,comment,i);
}
......
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