mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-18 19:41:03 +00:00
Remove unused variable warnings when omitting stuff at compile-time.
This commit is contained in:
1 parent
b5d9a362b4
commit
408c368fa5
7 files changed
+22
No files matched your search
@@ -627,6 +627,8 @@ int lookup_dhcp_opt(int prot, char *name)
|
||||
const struct opttab_t *t;
|
||||
int i;
|
||||
|
||||
(void)prot;
|
||||
|
||||
#ifdef HAVE_DHCP6
|
||||
if (prot == AF_INET6)
|
||||
t = opttab6;
|
||||
@@ -646,6 +648,8 @@ int lookup_dhcp_len(int prot, int val)
|
||||
const struct opttab_t *t;
|
||||
int i;
|
||||
|
||||
(void)prot;
|
||||
|
||||
#ifdef HAVE_DHCP6
|
||||
if (prot == AF_INET6)
|
||||
t = opttab6;
|
||||
|
||||
Reference in new issue
Block a user