Change-Id: I17ffec018f5d2fb06a7a3af6d8bc6128ffee3ae6
Signed-off-by: Florin Coras <fcoras@cisco.com>
if (app_enqueue_evt (mq, &msg, lock))
return -1;
- svm_fifo_set_event (s->server_rx_fifo);
+ (void) svm_fifo_set_event (s->server_rx_fifo);
return 0;
}
#endif
{
+#ifndef DLM_MAGIC_CONSTANT
#if USE_DEV_RANDOM
int fd;
unsigned char buf[sizeof(size_t)];
#endif
magic |= (size_t)8U; /* ensure nonzero */
magic &= ~(size_t)7U; /* improve chances of fault for bad values */
-#ifdef DLM_MAGIC_CONSTANT
+#else
magic = DLM_MAGIC_CONSTANT;
#endif
/* Until memory modes commonly available, use volatile-write */