On 1/12/22 07:13, Markus Armbruster wrote:
Transform

     if (good) {
         do stuff
     } else {
         handle error
     }

to

     if (!good) {
         handle error
        return;
     }
     do stuff

Signed-off-by: Markus Armbruster <arm...@redhat.com>
---
  ui/ui-hmp-cmds.c | 17 +++++++----------
  1 file changed, 7 insertions(+), 10 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to