summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/form/frm_def.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-01-25 14:06:39 (GMT)
committerBrad King <brad.king@kitware.com>2002-01-25 14:06:39 (GMT)
commit0bdd309fe0f2269176f3912fecbca185048b9495 (patch)
tree952913f877058c058d16365b93d77a9b62a64782 /Source/CursesDialog/form/frm_def.c
parent31561a7848d8c2b81ab2bc269e4b2c7e190402a7 (diff)
downloadCMake-0bdd309fe0f2269176f3912fecbca185048b9495.zip
CMake-0bdd309fe0f2269176f3912fecbca185048b9495.tar.gz
CMake-0bdd309fe0f2269176f3912fecbca185048b9495.tar.bz2
ERR: Corrected assertions of pointers to remove warnings.
Diffstat (limited to 'Source/CursesDialog/form/frm_def.c')
-rw-r--r--Source/CursesDialog/form/frm_def.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CursesDialog/form/frm_def.c b/Source/CursesDialog/form/frm_def.c
index 489dae3..0b28f5f 100644
--- a/Source/CursesDialog/form/frm_def.c
+++ b/Source/CursesDialog/form/frm_def.c
@@ -78,7 +78,7 @@ static FIELD *Insert_Field_By_Position(FIELD *newfield, FIELD *head)
{
FIELD *current, *newhead;
- assert(newfield);
+ assert(newfield != 0);
if (!head)
{ /* empty list is trivial */
@@ -156,7 +156,7 @@ static int Connect_Fields(FORM * form, FIELD ** fields)
int maximum_row_in_field, maximum_col_in_field;
_PAGE *pg;
- assert(form);
+ assert(form != 0);
form->field = fields;
form->maxfield = 0;