Page MenuHomePhabricator

Unnecessary elif / else block after continue or after break
Closed, ResolvedPublic

Description

Introduction

The else / elif block here is unnecessary because the leading if block has a continue or break Statement which leaves the control flow.

What to do:

  • The issues are listed here and there
  • replace elif block with if block
  • decrease nested else block

Important hints