util/uri.c: remove brackets that wrap return statement's content.

only remove brackets that wrap `return` statements' content.

use `perl -pi -e "s/return \((.*?)\);/return \1;/g" util/uri.c`
to remove pattern like this: "return (1);"

Signed-off-by: Su Hang <suhang16@mails.ucas.ac.cn>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 1519533358-13759-3-git-send-email-suhang16@mails.ucas.ac.cn
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Su Hang
2018-03-05 09:03:16 +00:00
committed by Stefan Hajnoczi
parent be95adaf2b
commit 42fa27253c
+80 -80
View File
File diff suppressed because it is too large Load Diff