2017-08-21 18:23:48 +02:00
|
|
|
Index: tpm2-tools-2.1.0/tools/main.c
|
2017-06-02 09:36:48 +02:00
|
|
|
===================================================================
|
2017-08-21 18:23:48 +02:00
|
|
|
--- tpm2-tools-2.1.0.orig/tools/main.c
|
|
|
|
+++ tpm2-tools-2.1.0/tools/main.c
|
2017-06-02 09:36:48 +02:00
|
|
|
@@ -61,7 +61,7 @@ main (int argc,
|
|
|
|
execute_man (argv[0], envp);
|
|
|
|
fprintf (stderr,
|
|
|
|
"failed to load manpage, check your environment / PATH\n");
|
|
|
|
- /* no break */
|
|
|
|
+ /* FALLTHROUGH */
|
|
|
|
case 2:
|
|
|
|
exit (1);
|
|
|
|
}
|
2017-08-21 18:23:48 +02:00
|
|
|
Index: tpm2-tools-2.1.0/tools/tpm2_dump_capability.c
|
2017-06-02 09:36:48 +02:00
|
|
|
===================================================================
|
2017-08-21 18:23:48 +02:00
|
|
|
--- tpm2-tools-2.1.0.orig/tools/tpm2_dump_capability.c
|
|
|
|
+++ tpm2-tools-2.1.0/tools/tpm2_dump_capability.c
|
2017-06-02 09:36:48 +02:00
|
|
|
@@ -595,7 +595,7 @@ dump_tpm_capability (TPMU_CAPABILITIES
|
|
|
|
case TPM_CAP_COMMANDS:
|
|
|
|
dump_command_attr_array (capabilities->command.commandAttributes,
|
|
|
|
capabilities->command.count);
|
|
|
|
- /* no break */
|
|
|
|
+ /* FALLTHROUGH */
|
|
|
|
default:
|
|
|
|
return 1;
|
|
|
|
}
|