From eacd6cbbfcc2e284fea666e880b55383bb57cf44 Mon Sep 17 00:00:00 2001 From: teodor Date: Thu, 29 Nov 2007 19:18:49 +0000 Subject: [PATCH] Remove unused UnitInfo->flag field --- td_smsg.c | 1 - top.h | 1 - 2 files changed, 2 deletions(-) diff --git a/td_smsg.c b/td_smsg.c index 1a8031f..fd27bc3 100644 --- a/td_smsg.c +++ b/td_smsg.c @@ -42,7 +42,6 @@ addMsgTop( MassiveUnit *mu, TCMsgTop *tmsg, struct in_addr *client ) { memcpy( &(unit.top), tmsg, sizeof( TCMsgTop )); unit.stamp=time(NULL); memcpy( &(unit.ip), client, sizeof(struct in_addr) ); - unit.flag = 0; fillUnit(mu, &unit); } diff --git a/top.h b/top.h index e12f537..64a8f1b 100644 --- a/top.h +++ b/top.h @@ -47,7 +47,6 @@ typedef struct { TCMsgTop top; time_t stamp; struct in_addr ip; - u_int32_t flag; } UnitInfo; typedef struct { -- 2.37.3