mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
geom_eli: mostly plug set-but-not-unused vars
The remaining case is an ignored error. Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
0d81fba680
commit
c904812018
|
@ -657,7 +657,7 @@ g_eli_worker(void *arg)
|
|||
struct g_eli_softc *sc;
|
||||
struct g_eli_worker *wr;
|
||||
struct bio *bp;
|
||||
int error;
|
||||
int error __diagused;
|
||||
|
||||
wr = arg;
|
||||
sc = wr->w_softc;
|
||||
|
@ -824,7 +824,7 @@ g_eli_last_close(void *arg, int flags __unused)
|
|||
{
|
||||
struct g_geom *gp;
|
||||
char gpname[64];
|
||||
int error;
|
||||
int error __diagused;
|
||||
|
||||
g_topology_assert();
|
||||
gp = arg;
|
||||
|
|
|
@ -456,7 +456,7 @@ g_eli_auth_run(struct g_eli_worker *wr, struct bio *bp)
|
|||
u_int i, lsec, nsec, data_secsize, decr_secsize, encr_secsize;
|
||||
off_t dstoff;
|
||||
u_char *p, *data, *authkey, *plaindata;
|
||||
int error;
|
||||
int error __diagused;
|
||||
bool batch;
|
||||
|
||||
G_ELI_LOGREQ(3, bp, "%s", __func__);
|
||||
|
|
|
@ -263,7 +263,7 @@ g_eli_crypto_run(struct g_eli_worker *wr, struct bio *bp)
|
|||
u_int i, nsec, secsize;
|
||||
off_t dstoff;
|
||||
u_char *data = NULL;
|
||||
int error, pages_offset;
|
||||
int error __diagused, pages_offset;
|
||||
bool batch;
|
||||
|
||||
G_ELI_LOGREQ(3, bp, "%s", __func__);
|
||||
|
|
Loading…
Reference in a new issue