nsgmls: resolve coverity warnings related to uninitialed members in C++ classes
[oweals/cde.git] / cde / programs / dtcreate / cmnutils.c
index 2ea8ba846ecb180f8500791ae906bdde1f786540..b98c156e0329980fa6c9b57ece4de88b7dd143b4 100644 (file)
@@ -34,6 +34,7 @@
 #include <Xm/RowColumnP.h>
 #include <Xm/MessageB.h>
 #include <Xm/Text.h>
+#include <Xm/List.h>
 #include "cmnutils.h"
 
 
@@ -119,7 +120,7 @@ return (text_string);
 /********************************************************************************/
 void delete_all_list_items (Widget list)
 {
-int item_count = 0;
+XtArgVal /* int */ item_count = 0;
 
 XtVaGetValues (list, XmNitemCount, &item_count, NULL);
 if (item_count > 0) {