aboutsummaryrefslogtreecommitdiff
path: root/qga
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-03-17 15:17:20 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-17 15:18:34 +0100
commit8834dcf47e8543b92e072706d3a5621762bfa106 (patch)
tree19be9b785ca48b934ef4b580f17d5a203acebed8 /qga
parentf962cac4c24157aeceff59cbf9dac8b5e30c55da (diff)
lockable: add QEMU_MAKE_LOCKABLE_NONNULL
This will be needed for lock guards, because if the lock is NULL the dummy for loop of the lock guard never runs. This can cause confusion and dummy warnings in the compiler, but even if it did not, aborting with a NULL pointer dereference is a less surprising behavior. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qga')
0 files changed, 0 insertions, 0 deletions