diff options
| author | Dehan Meng <demeng@redhat.com> | 2024-11-07 12:21:54 +0200 |
|---|---|---|
| committer | Konstantin Kostiuk <kkostiuk@redhat.com> | 2024-11-07 12:28:20 +0200 |
| commit | ccc2dfab57bfe4fdd02288761a7e7482f352bfcc (patch) | |
| tree | 88fcda1ab0bc7c799bba10fed0b2ede2c9a80d7a /rust/qemu-api-macros/src | |
| parent | 32bd9e206e04111ac3bb4fabdb215060ee1076e1 (diff) | |
| download | focaccia-qemu-ccc2dfab57bfe4fdd02288761a7e7482f352bfcc.tar.gz focaccia-qemu-ccc2dfab57bfe4fdd02288761a7e7482f352bfcc.zip | |
qemu-ga: Optimize var declaration and definition
Variable declarations moved to the beginning of blocks Followed the coding style of using snake_case for variable names. Proper initialization of param 'size_t n' to '0' for Signed-off-by: Dehan Meng <demeng@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com> Message-ID: <20241107102155.57573-3-kkostiuk@redhat.com> Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src')
0 files changed, 0 insertions, 0 deletions