Skip to content
Snippets Groups Projects
Commit dfdb4f3c authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 798d8ec0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment