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:
parent
efa29a21e0
commit
1e92a43e54
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue