Module Name: src
Committed By: kre
Date: Thu Feb 13 02:53:06 UTC 2025
Modified Files:
src/external/bsd/dhcpcd/dist/src: if-options.c
Log Message:
Conditionally compile more vars not used #ifndef SMALL
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/external/bsd/dhcpcd/dist/src/if-options.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/if-options.c
diff -u src/external/bsd/dhcpcd/dist/src/if-options.c:1.39 src/external/bsd/dhcpcd/dist/src/if-options.c:1.40
--- src/external/bsd/dhcpcd/dist/src/if-options.c:1.39 Thu Feb 13 01:54:46 2025
+++ src/external/bsd/dhcpcd/dist/src/if-options.c Thu Feb 13 02:53:06 2025
@@ -655,9 +655,11 @@ parse_option(struct dhcpcd_ctx *ctx, con
uint8_t *request, *require, *no, *reject;
struct dhcp_opt **dop, *ndop;
size_t *dop_len, dl, odl;
+ struct group *grp;
+#ifndef SMALL
struct vivco *vivco;
const struct vivco *vivco_endp = ifo->vivco + ifo->vivco_len;
- struct group *grp;
+#endif
#ifdef AUTH
struct token *token;
#endif