mirror of
https://github.com/mii443/qemu.git
synced 2025-08-31 11:29:26 +00:00
Commit72c194f7e7
added a non-null check on the 'obj' pointer. Later, commit500b11ea50
added code which uses the 'obj' pointer _before_ the assertion check. Move the assertion _before_ the pointer use. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190427144025.22880-4-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>