Fixed #7903 (Library Editor doesn't allow to select 'sizeof' as type of Min size of buffer)
This commit is contained in:
parent
f4dba4ad3d
commit
839cb2bdaa
|
@ -22,7 +22,7 @@ LibraryEditArgDialog::LibraryEditArgDialog(QWidget *parent, const CppcheckLibrar
|
|||
ui->minsize2arg2->setEnabled(arg.minsizes.count() >= 2 && arg.minsizes[1].type == "mul");
|
||||
|
||||
QStringList items;
|
||||
items << "None" << "argvalue" << "constant" << "mul" << "strlen";
|
||||
items << "None" << "argvalue" << "constant" << "mul" << "sizeof" << "strlen";
|
||||
|
||||
ui->minsize1type->clear();
|
||||
ui->minsize1type->addItems(items);
|
||||
|
|
Loading…
Reference in New Issue