]> git.proxmox.com Git - swtpm.git/commit
swtpm: Add missing braces around TPM_DEBUG after if statement
authorStefan Berger <stefanb@linux.ibm.com>
Fri, 13 Aug 2021 19:52:15 +0000 (15:52 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 13 Aug 2021 21:13:22 +0000 (17:13 -0400)
commit7edc44d57675c95ac33f0ed371e39d1e4d8d7d8c
treec95cbaae7a84b5eaa95eec80758cef30c19cc92d
parente43946a597bd07dba05a32527036aad942e0e26e
swtpm: Add missing braces around TPM_DEBUG after if statement

Fix the following compilation issue:

swtpm_nvstore_dir.c: In function 'SWTPM_NVRAM_Validate_Dir':
swtpm_nvstore_dir.c:149:86: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
         TPM_DEBUG("SWTPM_NVRAM_Validate_Dir: Rooted state path %s\n", tpm_state_path);
                                                                                      ^
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
src/swtpm/swtpm_nvstore_dir.c