Skip to content

Commit 0698f92

Browse files
authored
Fix C4061
1 parent d7a7c20 commit 0698f92

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

TPMCmd/tpm/src/command/Startup/Startup.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ TPM2_Startup(
186186
gr.clearCount++;
187187
gr.restartCount++;
188188
break;
189+
case SU_RESET:
189190
default:
190191
// Reset object context ID to 0
191192
gr.objectContextID = 0;
@@ -242,4 +243,4 @@ TPM2_Startup(
242243
return (OK) ? TPM_RC_SUCCESS : TPM_RC_FAILURE;
243244
}
244245

245-
#endif // CC_Startup
246+
#endif // CC_Startup

0 commit comments

Comments
 (0)