dtprintinfo: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-22 01:17:10 +00:00
committed by Jon Trulson
parent 284c760616
commit 3600e87527
10 changed files with 19 additions and 19 deletions

View File

@@ -42,7 +42,7 @@ ComboBoxObj::ComboBoxObj(MotifUI *parent, ComboBoxCallback callback,
: MotifUI(parent, name, NULL)
{
XmString *items_list;
int itemCount;
int itemCount = 0;
if (items && n_items)
{
items_list = new XmString [n_items];