diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-06 14:27:52 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-05-12 12:07:05 +0200 |
| commit | dfdb4f3c28737879685398c4a610a220e1ecf9c2 (patch) | |
| tree | 4084a329f1bb8d72bf1e31f8eea4eb0de75c86d8 /scripts/qapi/expr.py | |
| parent | 798d8ec0dacd4cc0034298d94f430c14f23e2919 (diff) | |
| download | focaccia-qemu-dfdb4f3c28737879685398c4a610a220e1ecf9c2.tar.gz focaccia-qemu-dfdb4f3c28737879685398c4a610a220e1ecf9c2.zip | |
checkpatch: fix g_malloc check
Use the string equality operator "eq", and ensure that $1 is defined by using "(try|)" instead of "(try)?". The alternative "((?:try)?)" is longer and less readable. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions