Skip to content

Commit

Permalink
util/uri.c: remove brackets that wrap return statement's content.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Su Hang authored and stefanhaRH committed Mar 5, 2018
1 parent be95ada commit 42fa272
Showing 1 changed file with 80 additions and 80 deletions.

0 comments on commit 42fa272

Please sign in to comment.