mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtsr: Resolve uninitialized warnings
This commit is contained in:
parent
4eb099b047
commit
284c760616
3 changed files with 9 additions and 9 deletions
|
@ -561,14 +561,14 @@ void process_profile (void)
|
|||
int line_num = 0;
|
||||
int i;
|
||||
char *tok;
|
||||
struct line_id *line_current;
|
||||
struct field_id *field_current;
|
||||
struct line_id *line_current = NULL;
|
||||
struct field_id *field_current = NULL;
|
||||
struct key_id *key_current;
|
||||
struct date_id *date_current;
|
||||
struct key_id *abstract_current;
|
||||
struct finclude *finclude_current;
|
||||
struct include *include_current;
|
||||
struct include *i_i_current;
|
||||
struct key_id *abstract_current = NULL;
|
||||
struct finclude *finclude_current = NULL;
|
||||
struct include *include_current = NULL;
|
||||
struct include *i_i_current = NULL;
|
||||
int found;
|
||||
int tok_type;
|
||||
|
||||
|
@ -2052,7 +2052,7 @@ void process_infile (void)
|
|||
{
|
||||
int line_num = 0;
|
||||
struct line_id *line_current;
|
||||
struct rec *record;
|
||||
struct rec *record = NULL;
|
||||
char buffer[200];
|
||||
int cant_be;
|
||||
time_t startime = 0L;
|
||||
|
|
|
@ -920,7 +920,7 @@ void write_2_dtbs_addr_file (void)
|
|||
{
|
||||
DtSrINT32 num_addrs_ii;
|
||||
DtSrINT32 num_reads;
|
||||
DtSrINT32 i_start, k, cur_ind;
|
||||
DtSrINT32 i_start, k, cur_ind = 0;
|
||||
DtSrINT32 num_delete_addrs = 0;
|
||||
char addrs_removed = FALSE;
|
||||
DtSrINT32 i;
|
||||
|
|
|
@ -103,7 +103,7 @@ static struct or_dbrec
|
|||
/****************************************/
|
||||
void count_words (int index)
|
||||
{
|
||||
long vista_field;
|
||||
long vista_field = 0;
|
||||
UCHAR *ptr;
|
||||
DtSrINT32 offset, free, addrs;
|
||||
int tabstop;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue