fix warning unused but set variable

This commit is contained in:
laplaceyang 2016-12-29 22:57:17 +08:00
parent 6c9103433f
commit aac1c8ac50

View File

@ -396,8 +396,8 @@ public:
// Self test
static int test()
{
bool ok = true;
float num = 0;
bool ok = true; (void) ok;
float num = 0; (void) num;
std::string str = "";
message_t msg;