1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtimsstart: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins 2021-12-22 01:21:33 +00:00 committed by Jon Trulson
parent efa29a21e0
commit 1e92a43e54
3 changed files with 4 additions and 4 deletions

View file

@ -150,7 +150,7 @@ int read_cmd_conf(void)
char *conf_dir, *path; char *conf_dir, *path;
char *p, *lp, *valp; char *p, *lp, *valp;
int line_num, num_alias; int line_num, num_alias;
DtEnv *dt; DtEnv *dt = NULL;
RemoteEnv *remote; RemoteEnv *remote;
FILE *fp; FILE *fp;
# ifdef old_hpux # ifdef old_hpux

View file

@ -393,7 +393,7 @@ void ximsFinish(void)
static int ximsShowImsList(void) static int ximsShowImsList(void)
{ {
int ret; int ret = NoError;
int i; int i;
int host_type = HOST_LOCAL; int host_type = HOST_LOCAL;
char *hostname; char *hostname;
@ -769,7 +769,7 @@ static int parse_options(int argc, char **argv)
int i, n; int i, n;
int wac = 1; int wac = 1;
char *wav[80]; char *wav[80];
int orgMode; int orgMode = MODE_START;
static bool first_time = True; static bool first_time = True;
#define SET_FLAG(f) OpFlag |= (f) #define SET_FLAG(f) OpFlag |= (f)

View file

@ -370,7 +370,7 @@ static int parse_ims_list(char *ptr, ImsList *list)
char *def_name; char *def_name;
int i, num_ent; int i, num_ent;
ImsEnt *ent = 0; ImsEnt *ent = 0;
ImsConf *ims; ImsConf *ims = NULL;
CLR(list, ImsList); CLR(list, ImsList);
list->default_idx = -1; list->default_idx = -1;