Don't initialize outpkt to an unused value.
authorEtienne Dechamps <etienne@edechamps.fr>
Sat, 12 Jul 2014 10:13:04 +0000 (11:13 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 12 Jul 2014 12:20:47 +0000 (14:20 +0200)
commit127f2f99f3d43e0565782750f26f1d3980c72711
treee12b23cde3d378455bb3621a68dd23f2789bf598
parent77e96c07912c2a8b280d3e812c71fa1f12efb0ff
Don't initialize outpkt to an unused value.

in receive_udppacket(), we initialize outpkt to a default value but the
value is never read anywhere, as every read is preceded by a write.

This issue was found by the clang static analyzer tool:
http://clang-analyzer.llvm.org/
src/net_packet.c