dtcm: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-22 01:26:51 +00:00
committed by Jon Trulson
parent 85684c337a
commit 2c134302c8
13 changed files with 24 additions and 19 deletions

View File

@@ -377,7 +377,7 @@ text_to_lines(char *s, int n)
Lines *prev_l = NULL, *l = NULL, *head= NULL;
int i = 0;
char *_p;
int clen;
int clen = 0;
if (s == NULL || n <= 0) return NULL;
@@ -1227,7 +1227,7 @@ Dtcm_appointment *allocate_appt_struct (Allocation_reason reason, int version, .
va_list pvar;
CmDataList *api_ids = CmDataListCreate();
Dtcm_appointment *appt;
int def_attr_count;
int def_attr_count = 0;
/*
* The Dtcm_appointment wrapper array