From: teodor Date: Thu, 29 Nov 2007 19:18:49 +0000 (+0000) Subject: Remove unused UnitInfo->flag field X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=eacd6cbbfcc2e284fea666e880b55383bb57cf44;p=remotetop.git Remove unused UnitInfo->flag field --- 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 {