From ba26cc9938c33fe0837322ea34bcd438f9b7d207 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 13 Feb 2011 10:07:10 +0100 Subject: Build problem with OpenPGM and MSVC fixed Signed-off-by: Martin Sustrik --- src/zmq.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zmq.cpp b/src/zmq.cpp index 21377ef..1d17b15 100644 --- a/src/zmq.cpp +++ b/src/zmq.cpp @@ -215,8 +215,8 @@ void *zmq_init (int io_threads_) // openPGM timing, set environment variables PGM_TIMER to "GTOD" and // PGM_SLEEP to "USLEEP". pgm_error_t *pgm_error = NULL; - const bool rc = pgm_init (&pgm_error); - if (rc != TRUE) { + const bool ok = pgm_init (&pgm_error); + if (ok != TRUE) { // Invalid parameters don't set pgm_error_t zmq_assert (pgm_error != NULL); -- cgit v1.2.3