mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
geom_mirror: plug set-but-not-unused vars
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
0a048d4a98
commit
0d81fba680
1 changed files with 2 additions and 2 deletions
|
|
@ -1605,7 +1605,7 @@ g_mirror_request_split(struct g_mirror_softc *sc, struct bio *bp)
|
|||
{
|
||||
struct bio_queue queue;
|
||||
struct g_mirror_disk *disk;
|
||||
struct g_consumer *cp;
|
||||
struct g_consumer *cp __diagused;
|
||||
struct bio *cbp;
|
||||
off_t left, mod, offset, slice;
|
||||
u_char *data;
|
||||
|
|
@ -2083,7 +2083,7 @@ g_mirror_sync_start(struct g_mirror_disk *disk)
|
|||
struct g_mirror_disk_sync *sync;
|
||||
struct g_consumer *cp;
|
||||
struct bio *bp;
|
||||
int error, i;
|
||||
int error __diagused, i;
|
||||
|
||||
g_topology_assert_not();
|
||||
sc = disk->d_softc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue