qemu_firmware: only set nfeatures on success
commitfe09cd72aa8ad0bedeee68158190b334c5bca775
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 5 Jun 2019 10:31:01 +0000 (5 12:31 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 26 Jun 2019 07:24:09 +0000 (26 09:24 +0200)
tree6fd2a338143f8635d43adab0f4953fec7f6ba535
parent6cff855c738369a602b7d497951f7eb7072aa841
qemu_firmware: only set nfeatures on success

The field is set just before returning on success.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_firmware.c