diff options
author | rob <rob@cvs.openbsd.org> | 2020-12-29 21:27:06 +0000 |
---|---|---|
committer | rob <rob@cvs.openbsd.org> | 2020-12-29 21:27:06 +0000 |
commit | d9859ddefcab9991371bc4689a9a99b8a4a2717e (patch) | |
tree | 90a622daa60fd1ad174b7a094766e6062b67a7c6 /lib | |
parent | 0a92c66511226fb388973a2df0c2cc35f77b4b8a (diff) |
Remove unnecessary assignment.
OK martijn@
Diffstat (limited to 'lib')
-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; |