ping test code blocks compile due to unusued value on Fedora
Closed this issue · 1 comments
ingenthr commented
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -DHAVE_CONFLATE_H -I./libmemcached-0.28 -I./../libconflate -I./../libstrophe -g -O2 -Wall -Werror -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT moxi-agent_ping.o -MD -MP -MF .deps/moxi-agent_ping.Tpo -c -o moxi-agent_ping.o test -f 'agent_ping.c' || echo './'
agent_ping.c
cc1: warnings being treated as errors
agent_ping.c: In function 'perform_ping_test':
agent_ping.c:210: warning: value computed is not used
ingenthr commented
fixed in commit ab79b; thanks to Dustin for the ptr on how to fix