HomeClusterLabs Projects
Diffusion Booth 55e67e7fd7d8

Refactor: Unindent various code blocks.

Description

Refactor: Unindent various code blocks.

When we have a condition with a bunch of code under it, these can often
be rewritten to invert the condition and exit which allows all the
previously indented code to be un-indented. This can make the resulting
code easier to follow.

I haven't changed every single one of these in ticket.c, only the spots
that I think makes it easier to see what's going on.

Details

Provenance
clumensAuthored on Sep 4 2024, 11:22 AM
Parents
rB3f227400108f: Refactor: Be more consistent with indentation.
Branches
Unknown
Tags
Unknown

Event Timeline