Skip to content
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

tpm-tools: fix misleading-indentation error #29010

Closed
wants to merge 1 commit into from

Conversation

makefu
Copy link
Contributor

@makefu makefu commented Sep 5, 2017

Motivation for this change

disabling the warning fixes:

tpm_present.c:358:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Related to #28643 even though it is already marked as fixed.

disabling the warning fixes:

  tpm_present.c:358:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
@dezgeg
Copy link
Contributor

dezgeg commented Sep 5, 2017

Are you sure this is needed after 5cb9987? It builds for me.

@makefu
Copy link
Contributor Author

makefu commented Sep 5, 2017

@DezeG ... no, it is not needed anymore. I tested with the version before the bump yesterday. Time flies

@makefu makefu closed this Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants