mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-10-15 23:20:09 +02:00
Merge pull request #105 from laplaceyang/pr_rm_warning_unused_but_set_var
fix warning unused but set variable
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user