Commit 30ee21f6 authored by Eric Blake's avatar Eric Blake
Browse files

maint: Reduce number of reverse gotos



Although the compiler doesn't care about it, having later code jump
backwards to an earlier common error handling block, particularly when
that earlier block is nested inside a conditional, is unusual compared
to programming paradigms where exception handling occurs later in the
function.  Relocate the common error handling block to be at the end
of the function, outside conditional nesting.  No semantic change.

Suggested-by: default avatarLaszlo Ersek <lersek@redhat.com>
parent d93bfcdc
Pipeline #617228166 failed with stage
in 11 minutes and 1 second
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment