Remove unused UnitInfo->flag field
authorteodor <teodor>
Thu, 29 Nov 2007 19:18:49 +0000 (19:18 +0000)
committerteodor <teodor>
Thu, 29 Nov 2007 19:18:49 +0000 (19:18 +0000)
td_smsg.c
top.h

index 1a8031f..fd27bc3 100644 (file)
--- 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 (file)
--- 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 {