Module Name: src
Committed By: kre
Date: Thu Feb 13 02:55:20 UTC 2025
Modified Files:
src/external/bsd/dhcpcd/dist/src: dhcp.c
Log Message:
In dhcp_handledhcp() var 'tmp' is not used #ifndef IPV4LL
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/external/bsd/dhcpcd/dist/src/dhcp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/dhcpcd/dist/src/dhcp.c
diff -u src/external/bsd/dhcpcd/dist/src/dhcp.c:1.52 src/external/bsd/dhcpcd/dist/src/dhcp.c:1.53
--- src/external/bsd/dhcpcd/dist/src/dhcp.c:1.52 Wed Feb 12 19:23:13 2025
+++ src/external/bsd/dhcpcd/dist/src/dhcp.c Thu Feb 13 02:55:20 2025
@@ -3068,13 +3068,16 @@ dhcp_handledhcp(struct interface *ifp, s
struct dhcp_state *state = D_STATE(ifp);
struct if_options *ifo = ifp->options;
struct dhcp_lease *lease = &state->lease;
- uint8_t type, tmp;
+ uint8_t type;
struct in_addr addr;
unsigned int i;
char *msg;
bool bootp_copied;
uint32_t v6only_time = 0;
bool use_v6only = false, has_auto_conf = false;
+#ifdef IPV4LL
+ uint8_t tmp;
+#endif
#ifdef AUTH
const uint8_t *auth;
size_t auth_len;