summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-02-13 10:07:10 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-02-13 10:07:10 +0100
commitba26cc9938c33fe0837322ea34bcd438f9b7d207 (patch)
treea7a7fb58adec63313959f7e43bd33e2ef3193325 /src
parent14a0e147b2b89fc7fed92c7d9c806b6c53380400 (diff)
Build problem with OpenPGM and MSVC fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r--src/zmq.cpp4
1 files 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);