[ns] statement has no effect with CURRENT_TIME
elise hu
nsmail0 at hotmail.com
Tue Mar 21 04:46:18 PST 2006
Hi,
like pretty much everyone on this mailing list, i'm implementing an ad-hoc
routing agent.
My code compiles and is built into ns - however i have a warning :
warning: statement has no effect
for pretty much every line looking like :
expire_time = CURRENT_TIME + nb_freshness_*t_br_;
(i have a few) - so that's a bit worrying. CURRENT_TIME is defined as :
#define CURRENT_TIME Scheduler::instance().clock();
this doesn't seem to be related to any weird loop, so i wonder what is wrong
?
thanks
Elise
_________________________________________________________________
Free blogging with MSN Spaces http://spaces.msn.com/?mkt=nl-be
More information about the Ns-users
mailing list