Merge pull request #105 from laplaceyang/pr_rm_warning_unused_but_set_var

fix warning unused but set variable
This commit is contained in:
Luca Boccassi 2016-12-29 16:14:51 +01:00 committed by GitHub
commit 1f89a62f26

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;