From: Etienne Dechamps Date: Sat, 12 Jul 2014 11:49:59 +0000 (+0100) Subject: Only declare the origpriority variable if we support priority. X-Git-Tag: release-1.1pre11~63^2~5 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;ds=sidebyside;h=d7f89a79448dd1633342ea5ee344d403c8e6890b;hp=d7f89a79448dd1633342ea5ee344d403c8e6890b;p=tinc Only declare the origpriority variable if we support priority. This fixes the following compiler warning when building for Windows: net_packet.c: In function ‘send_udppacket’: net_packet.c:633:6: error: unused variable ‘origpriority’ [-Werror=unused-variable] int origpriority = origpkt->priority; ^ ---