-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LVM2.2.02.179/lib/metadata/metadata.c: confused logic ? #7
Comments
I guess - the loop is processing the list of metadata - and the first metadata goes through here - is marked 'correct_vg' - continue then means to go and get the 'next' metadata set. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LVM2.2.02.179/lib/metadata/metadata.c:4125] -> [LVM2.2.02.179/lib/metadata/metadata.c:4179]: (warning) Identical inner 'if' condition is always true.
Line 4125 is
and line 4179 is
which means that the continue always executes and so the rest of the code
in the block can never execute. Looks suspicious to me.
The text was updated successfully, but these errors were encountered: