Permalink
Browse files

Cleanup dead store / dead initialization

Found by: michaelortmann
Patch by: michaelortmann
  • Loading branch information...
michaelortmann authored and vanosg committed Sep 9, 2018
1 parent b4cb713 commit 9deeeeb29d7971eaba4ec4d5996494e8ca455917
Showing with 2 additions and 3 deletions.
  1. +0 −1 src/misc.c
  2. +1 −1 src/mod/channels.mod/tclchan.c
  3. +1 −1 src/mod/transfer.mod/transferqueue.c
View
@@ -532,7 +532,6 @@ void putlog EGG_VARARGS_DEF(int, arg1)
format = va_arg(va, char *);
/* Create the timestamp */
t = localtime(&now2);
if (shtime) {
egg_strftime(stamp, sizeof(stamp) - 2, log_ts, t);
strcat(stamp, " ");
@@ -1245,7 +1245,7 @@ static int tcl_channel_modify(Tcl_Interp *irp, struct chanset_t *chan,
int i, x = 0, found, old_status = chan->status,
old_mode_mns_prot = chan->mode_mns_prot,
old_mode_pls_prot = chan->mode_pls_prot;
struct udef_struct *ul = udef;
struct udef_struct *ul;
char s[121];
char *endptr;
module_entry *me;
@@ -71,7 +71,7 @@ static void deq_this(fileq_t *this)
*/
static void flush_fileq(char *to)
{
fileq_t *q = fileq;
fileq_t *q;
int fnd = 1;
while (fnd) {

0 comments on commit 9deeeeb

Please sign in to comment.