summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2017-02-26 23:41:55 +0100
committerGreg Kurz <groug@kaod.org>2017-02-28 11:21:14 +0100
commit21328e1e57f526e3f0c2fcd00f10c8aa6e7bc07f (patch)
tree270327f9b95346c9e1817a450bdee79be588dddc /scripts/qapi-commands.py
parent00c90bd1c2ff6aabb9ca948a254ba044a403e399 (diff)
downloadfocaccia-qemu-21328e1e57f526e3f0c2fcd00f10c8aa6e7bc07f.tar.gz
focaccia-qemu-21328e1e57f526e3f0c2fcd00f10c8aa6e7bc07f.zip
9pfs: remove side-effects in local_open() and local_opendir()
If these functions fail, they should not change *fs. Let's use local
variables to fix this.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions