Skip to content

Commit 1f89a62

Browse files
authored
Merge pull request #105 from laplaceyang/pr_rm_warning_unused_but_set_var
fix warning unused but set variable
2 parents 6c91034 + aac1c8a commit 1f89a62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zmq_addon.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ class multipart_t
396396
// Self test
397397
static int test()
398398
{
399-
bool ok = true;
400-
float num = 0;
399+
bool ok = true; (void) ok;
400+
float num = 0; (void) num;
401401
std::string str = "";
402402
message_t msg;
403403

0 commit comments

Comments
 (0)