[ofa-general] dtest.c: various warning complaints

Harold Iuzzolino iuzzolin at nmia.com
Thu Aug 28 22:47:18 PDT 2008


Dear Openfabrics,  general at lists.openfabrics.org

Bug #3 in dtest.c: various warning complaints.

         General warnings in ./test/dtest/dtest.c

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I ./../../dat/include     -O2 -g 
-pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -MT dtest.o -MD -MP -MF
".deps/dtest.Tpo" -c -o dtest.o dtest.c

dtest.c:193: warning: return type defaults to 'int'
dtest.c: In function 'connect_ep':
dtest.c:602: warning: unused variable 'ep_attr'
dtest.c: In function 'disconnect_ep':
dtest.c:890: warning: unused variable 'flush_cnt'
dtest.c:890: warning: unused variable 'i'
dtest.c: In function 'do_rdma_write_with_msg':
dtest.c:971: warning: unused variable 'their_context'
dtest.c:965: warning: unused variable 'region'
dtest.c: In function 'do_rdma_read_with_msg':
dtest.c:1121: warning: unused variable 'their_context'
dtest.c:1115: warning: unused variable 'region'
dtest.c: In function 'do_ping_pong_msg':
dtest.c: In function 'DT_RetToString':
dtest.c:1763: warning: unused variable 'sz'
dtest.c: In function 'main':
dtest.c:495: warning: control reaches end of non-void function
dtest.c: At top level:
dtest.c:145: warning: 'parent' defined but not used
dtest.c:154: warning: 'pin_memory' defined but not used
dtest.c:158: warning: 'post_recv_count' defined but not used
dtest.c:163: warning: 'child' defined but not used


Carlyn Iuzzolino
iuzzolin at nmia.com




More information about the general mailing list