Add variable initialization missed by me and clang.
Reported by: grehan MFC after: 2 weeks
This commit is contained in:
parent
371f1d88b6
commit
f5f4836d62
@ -217,6 +217,7 @@ pci_vtblk_proc(struct pci_vtblk_softc *sc, struct vqueue_info *vq)
|
||||
DPRINTF(("virtio-block: %s op, %d bytes, %d segs, offset %ld\n\r",
|
||||
writeop ? "write" : "read/ident", iolen, i - 1, offset));
|
||||
|
||||
err = 0;
|
||||
switch (type) {
|
||||
case VBH_OP_WRITE:
|
||||
if (pwritev(sc->vbsc_fd, iov + 1, i - 1, offset) < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user