]> Git Repo - qemu.git/commit
9p: local: Avoid warning if FS_IOC_GETVERSION is not defined
authorKeno Fischer <[email protected]>
Thu, 7 Jun 2018 10:17:22 +0000 (12:17 +0200)
committerGreg Kurz <[email protected]>
Thu, 7 Jun 2018 10:17:22 +0000 (12:17 +0200)
commit5b7b2f9a85bcc44485da713f60e371dd66a644b1
treea940ac50ae2415086825e496f75e7552a7e8ce21
parenta647502c582981c395b5d16e52a22ac7aff0fb2b
9p: local: Avoid warning if FS_IOC_GETVERSION is not defined

Both `stbuf` and `local_ioc_getversion` where unused when
FS_IOC_GETVERSION was not defined, causing a compiler warning.

Reorganize the code to avoid this warning.

Signed-off-by: Keno Fischer <[email protected]>
Signed-off-by: Greg Kurz <[email protected]>
hw/9pfs/9p-local.c
This page took 0.027157 seconds and 4 git commands to generate.