From 494d4d36237f37c455f6689fca280ed75498403a Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 5 Apr 2012 10:26:23 +0200 Subject: Verious warnings generated by SunStudio fixed Signed-off-by: Martin Sustrik --- tests/hwm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/hwm.cpp') 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 -- cgit v1.2.3