most of the serious unused vars are removed, so i'll silence those now... and maaaaaany other fixes

This commit is contained in:
DarthArgus
2015-10-13 16:51:54 -05:00
parent 25b0b97bf0
commit d74de9fdcd
14 changed files with 13 additions and 129 deletions
@@ -45,8 +45,11 @@ ClockStamp Clock::getCurTime()
return ret;
#else
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wuninitialized"
struct timeval tv;
return (static_cast<ClockStamp>(tv.tv_sec) * 1000 + static_cast<ClockStamp>(tv.tv_usec / 1000));
#pragma clang diagnostic pop
#endif
}