HomeClusterLabs Projects

Fix: liblrmd: make LSB header parsing more efficient

Description

Fix: liblrmd: make LSB header parsing more efficient

Previously, some helper code containing a "continue" statement was made into a
macro encapsulated in "do...while(0)", thus making the "continue" ineffective.
Now, it's an inline function, and the continue is done in the caller.

The end result is the same, but the loop is short-circuited when appropriate
as originally intended, and it makes coverity happy.

Details

Provenance
kgaillotAuthored on Sep 18 2015, 11:55 AM
Parents
rP71a353c044b6: Fix: tools: use floating-point division when converting ms to seconds
Branches
Unknown
Tags
Unknown

Event Timeline