summaryrefslogtreecommitdiff
path: root/tests/hwm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwm.cpp')
-rw-r--r--tests/hwm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwm.cpp b/tests/hwm.cpp
index f93dcd9..6cd9a41 100644
--- a/tests/hwm.cpp
+++ b/tests/hwm.cpp
@@ -47,7 +47,7 @@ int XS_TEST_MAIN ()
// Try to send 10 messages. Only 4 should succeed.
for (int i = 0; i < 10; i++)
{
- int rc = xs_send (sc, NULL, 0, XS_DONTWAIT);
+ rc = xs_send (sc, NULL, 0, XS_DONTWAIT);
if (i < 4)
assert (rc == 0);
else