coccinelle: fix typo in comment
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 16 May 2017 00:11:50 +0000 (21:11 -0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 7 Jun 2017 13:38:44 +0000 (14:38 +0100)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/coccinelle/return_directly.cocci

index 48680f2c2a73b073caa9180c163c73b6bea34d2e..4cf50e75ea035963ba0bfae7ea547121cc7f3c17 100644 (file)
@@ -1,4 +1,4 @@
-// replace 'R = X; return R;' with 'return R;'
+// replace 'R = X; return R;' with 'return X;'
 @@
 identifier VAR;
 expression E;