mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 02:42:58 +01:00
Build problem with OpenPGM and MSVC fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
14a0e147b2
commit
ba26cc9938
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user