* Re: [Qemu-trivial] [Qemu-devel] [PATCH v3 2/3] util/uri.c: only remove `return`'s brackets [not found] <1519372278-20644-1-git-send-email-suhang16@mails.ucas.ac.cn> @ 2018-02-23 8:47 ` Thomas Huth 0 siblings, 0 replies; only message in thread From: Thomas Huth @ 2018-02-23 8:47 UTC (permalink / raw) To: Su Hang, stefanha; +Cc: qemu-devel, QEMU Trivial On 23.02.2018 08:51, Su Hang wrote: > 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> > --- > util/uri.c | 160 ++++++++++++++++++++++++++++++------------------------------- > 1 file changed, 80 insertions(+), 80 deletions(-) Looks good to me: Reviewed-by: Thomas Huth <thuth@redhat.com> ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-23 8:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1519372278-20644-1-git-send-email-suhang16@mails.ucas.ac.cn>
2018-02-23 8:47 ` [Qemu-trivial] [Qemu-devel] [PATCH v3 2/3] util/uri.c: only remove `return`'s brackets Thomas Huth
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).