[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] tools/blktap2/vhd: Remove unused struct stat stats
commit 341c75bf4661aa0b5411d5dcc6334ab22e0bb158 Author: Alistair Francis <alistair.francis@xxxxxxxxxx> AuthorDate: Tue Dec 20 11:46:58 2016 -0800 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Thu Dec 22 10:54:47 2016 +0000 tools/blktap2/vhd: Remove unused struct stat stats The unsued variable 'struct stat stats' causes build errors in some situations. As it isn't used just remove it. Signed-off-by: Alistair Francis <alistair.francis@xxxxxxxxxx> Reviewed-by: Doug Goldstein <cardoe@xxxxxxxxxx> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- tools/blktap2/vhd/lib/libvhd-journal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/blktap2/vhd/lib/libvhd-journal.c b/tools/blktap2/vhd/lib/libvhd-journal.c index 26e26e7..862890f 100644 --- a/tools/blktap2/vhd/lib/libvhd-journal.c +++ b/tools/blktap2/vhd/lib/libvhd-journal.c @@ -1260,7 +1260,6 @@ vhd_journal_create(vhd_journal_t *j, const char *file, const char *jfile) int i, err; size_t size; off_t off; - struct stat stats; memset(j, 0, sizeof(vhd_journal_t)); j->jfd = -1; -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |