diff options
author | Philippe Mathieu-Daudé | 2017-05-16 02:11:50 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2017-06-07 15:38:44 +0200 |
commit | f652402487be592402a5edc000a652344e842369 (patch) | |
tree | 0145af01b1004830a922c14ce7d4d572f445e024 /scripts/coccinelle/return_directly.cocci | |
parent | oslib: strip trailing '\n' from error_setg() string argument (diff) | |
download | qemu-f652402487be592402a5edc000a652344e842369.tar.gz qemu-f652402487be592402a5edc000a652344e842369.tar.xz qemu-f652402487be592402a5edc000a652344e842369.zip |
coccinelle: fix typo in comment
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/coccinelle/return_directly.cocci')
-rw-r--r-- | scripts/coccinelle/return_directly.cocci | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/coccinelle/return_directly.cocci b/scripts/coccinelle/return_directly.cocci index 48680f2c2a..4cf50e75ea 100644 --- a/scripts/coccinelle/return_directly.cocci +++ b/scripts/coccinelle/return_directly.cocci @@ -1,4 +1,4 @@ -// replace 'R = X; return R;' with 'return R;' +// replace 'R = X; return R;' with 'return X;' @@ identifier VAR; expression E; |