Add clang analyzer CI job

This commit is contained in:
Christian Göttsche
2020-09-21 15:06:19 +02:00
committed by cgzones
parent d69585b82a
commit b82a13c6ba
3 changed files with 26 additions and 3 deletions

View File

@ -274,9 +274,10 @@ static MaskItem *AffinityPanel_addObject(AffinityPanel* this, hwloc_obj_t obj, u
}
xSnprintf(&indent_buf[off], left, "%s",
obj->next_sibling ? CRT_treeStr[TREE_STR_RTEE] : CRT_treeStr[TREE_STR_BEND]);
size_t len = strlen(&indent_buf[off]);
off += len;
left -= len;
// Uncomment when further appending to indent_buf
//size_t len = strlen(&indent_buf[off]);
//off += len;
//left -= len;
}
xSnprintf(buf, 64, "%s %s%u", type_name, index_prefix, index);