KT.EMPTY_DO_WHILE_BLOCK

Empty 'do/while' loop

Reports empty 'do/while' loops. Empty blocks of code serve no purpose and should be removed.

External guidance

The content on this page is adapted from the Detekt Docs. Copyright ©2022 The Detekt Team. All rights reserved. https://detekt.dev/comments.html