mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-16 08:13:30 +00:00
fixed compiler warning
This commit is contained in:
@@ -2596,7 +2596,7 @@ void ILibChain_WatchDogStart(void *obj)
|
|||||||
tv.tv_usec = 0;
|
tv.tv_usec = 0;
|
||||||
tv.tv_sec = ILibChain_WATCHDOG_TIMEOUT / 1000;
|
tv.tv_sec = ILibChain_WATCHDOG_TIMEOUT / 1000;
|
||||||
#endif
|
#endif
|
||||||
int Pre1=0, Pre2=0, Post1=0, Post2=0;
|
int Pre1 = 0, Pre2 = 0, Post1 = 0;
|
||||||
sprintf_s(msg, sizeof(msg), "Microstack STUCK: @ ");
|
sprintf_s(msg, sizeof(msg), "Microstack STUCK: @ ");
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
@@ -2647,7 +2647,6 @@ void ILibChain_WatchDogStart(void *obj)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
Pre2 = Pre1;
|
Pre2 = Pre1;
|
||||||
Post2 = Post1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user