diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-17 15:17:20 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-17 15:18:34 +0100 |
| commit | 8834dcf47e8543b92e072706d3a5621762bfa106 (patch) | |
| tree | 19be9b785ca48b934ef4b580f17d5a203acebed8 /util/qemu-timer.c | |
| parent | f962cac4c24157aeceff59cbf9dac8b5e30c55da (diff) | |
| download | focaccia-qemu-8834dcf47e8543b92e072706d3a5621762bfa106.tar.gz focaccia-qemu-8834dcf47e8543b92e072706d3a5621762bfa106.zip | |
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 'util/qemu-timer.c')
0 files changed, 0 insertions, 0 deletions