diff options
| author | 2020-12-29 21:27:05 +0000 | |
|---|---|---|
| committer | 2020-12-29 21:27:05 +0000 | |
| commit | ff1716451d2457825a203756c0e703df5a7bba6d (patch) | |
| tree | 6f9cec44199329be4d35b794f5e68399b1c27bd0 | |
| parent | getifaddrs() can return entries where ifa_addr is NULL. Check for this (diff) | |
| download | wireguard-openbsd-ff1716451d2457825a203756c0e703df5a7bba6d.tar.xz wireguard-openbsd-ff1716451d2457825a203756c0e703df5a7bba6d.zip | |
Remove unnecessary assignment.
OK martijn@
| -rw-r--r-- | lib/libagentx/ax.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libagentx/ax.c b/lib/libagentx/ax.c index 66a4240ecb8..27b56c95636 100644 --- a/lib/libagentx/ax.c +++ b/lib/libagentx/ax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ax.c,v 1.4 2020/10/27 17:19:44 martijn Exp $ */ +/* $OpenBSD: ax.c,v 1.5 2020/12/29 21:27:05 rob Exp $ */ /* * Copyright (c) 2019 Martijn van Duren <martijn@openbsd.org> * @@ -981,7 +981,6 @@ ax_pdu_header(struct ax *ax, enum ax_pdu_type type, uint8_t flags, return -1; } - ax->ax_wbtlen = ax->ax_wblen; if (ax_pdu_need(ax, 4) == -1) return -1; ax->ax_wbuf[ax->ax_wbtlen++] = 1; |
