diff options
| author | Gonglei | 2014-08-11 15:00:51 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2014-08-15 16:54:06 +0200 |
| commit | 2bb0020cf97c938f8339c76fa8a0da6353e8d27e (patch) | |
| tree | 86c6427b2cbcb61e357da559630f2f1fdc5e2bdc /hw/audio | |
| parent | pci-host: update uncorresponding description (diff) | |
| download | qemu-2bb0020cf97c938f8339c76fa8a0da6353e8d27e.tar.gz qemu-2bb0020cf97c938f8339c76fa8a0da6353e8d27e.tar.xz qemu-2bb0020cf97c938f8339c76fa8a0da6353e8d27e.zip | |
CODING_STYLE: Section about conditional statement
Yoda conditions lack readability, and QEMU has a
strict compiler configuration for checking a common
mistake like "if (dev = NULL)". Make it a written rule.
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/audio')
0 files changed, 0 insertions, 0 deletions
