edenhill/librdkafka — pull request #127 by liyujun (2014-07-13 07:28:09+00:00)
Title: Update rdkafka_msg.c

gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)

$[home/kafka/librdkafka-master] make all
gcc -MD -MP -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -c rdkafka_msg.c -o rdkafka_msg.o
cc1: warnings being treated as errors
rdkafka_msg.c: In function 'rd_kafka_msg_new':
rdkafka_msg.c:137: warning: value computed is not used
make: *** [rdkafka_msg.o] Error 1

rdkafka_msg.c:137 : 'rd_atomic_sub(&rkt->rkt_rk->rk_producer.msg_cnt, 1);' and '(void)'