Eliminate warnings from code generated by rpcgen
authorGreg Banks <gnb@melbourne.sgi.com>
Tue, 4 Jul 2006 08:33:56 +0000 (18:33 +1000)
committerNeil Brown <neilb@suse.de>
Tue, 4 Jul 2006 08:33:56 +0000 (18:33 +1000)
commit5bfa10c94c44f082dc211a5fb431e2202ea9bb35
tree4e88780ae9d25ff81dd3a7ed763382451d005816
parentacae444246635ec2ca8990d53e685c9062d73091
Eliminate warnings from code generated by rpcgen

 - unused variable 'buf'
    - emit a declaration for `buf' on demand.
 - unused variable 'i'
    - declare i immediately before use
 - unused value from IXDR_PUT_
    - cast to (void)
 - type-punned pointer reference
    - cast to (void*) first :-(
tools/rpcgen/rpc_cout.c