diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-06-05 01:42:05 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-17 17:11:30 +0200 |
commit | 5feb3d651dbd1b096a26963bd1dffcfe0a5f9eea (patch) | |
tree | aa82bb7320480efba49b850b21193ecfee963fe3 /ax25/axspawn.c | |
parent | 1245fbd2a8d60bab7b16b8a1d3c0122fee72f53f (diff) |
Remove useless initializations to 0 or NULL.
They only inflate the .data section of the binary. Initializations to
FALSE are still left to do.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/axspawn.c')
-rw-r--r-- | ax25/axspawn.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ax25/axspawn.c b/ax25/axspawn.c index 31fddbc..e92d3ac 100644 --- a/ax25/axspawn.c +++ b/ax25/axspawn.c @@ -428,12 +428,12 @@ static unsigned short mask16tab[16] = { char policy_add_user = 1; -char policy_add_empty_password = 0; -char policy_add_prog_useradd = 0; +char policy_add_empty_password; +char policy_add_prog_useradd; char policy_guest = 1; -char policy_associate = 0; +char policy_associate; char pwcheck = 1; -char secure_home = 0; +char secure_home; gid_t user_gid = 400; char *user_shell = "/bin/bash"; @@ -443,8 +443,8 @@ int start_uid = 400; int end_uid = 65535; int paclen = ROSE_PACLEN; /* Its the shortest ie safest */ -int huffman = 0; -int bin = 0; +int huffman; +int bin; int fdmaster; struct write_queue { @@ -453,8 +453,8 @@ struct write_queue { unsigned int len; }; -struct write_queue *wqueue_head = NULL; -struct write_queue *wqueue_tail = NULL; +struct write_queue *wqueue_head; +struct write_queue *wqueue_tail; long wqueue_length = 0L; @@ -850,7 +850,7 @@ int write_ax25(char *s, int len, int kick) struct termios termios; static struct termios save_termios; static struct termios save_termios_master; - static int last_ended_with_CR = 0; + static int last_ended_with_CR; int i = 0; int j = 0; |