commit | 310a21ef24ace14b4d6e8095172445494f54ff25 | [log] [tgz] |
---|---|---|
author | Rong Chang <[email protected]> | Fri Dec 09 07:59:54 2011 |
committer | Rong Chang <[email protected]> | Wed Dec 14 01:07:51 2011 |
tree | 33cbcef6b44783d7ece0dcb7f5bdaa49b9e29123 | |
parent | 080c7951165acb7cdfc9b372ad76d0772fa4f53d [diff] |
Fix -Werror=unused-but-set-variable warnings in gcc 4.6 As warning-as-error was enabled, unused-but-set local variable breaks the build in gcc 4.6 . This CL add a return code check in TPM_CMK_ApproveMA after verify authorization. BUG=None TEST=emerge tpm-emulator under gcc 4.6 toolchain Change-Id: I540d0a7b1b5190ab6bb4a2432e87263050ef3bc9 Reviewed-on: https://gerrit.chromium.org/gerrit/12677 Tested-by: Rong Chang <[email protected]> Reviewed-by: Luigi Semenzato <[email protected]>