Don't void actually used arguments

Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
This commit is contained in:
Steven Cooreman 2021-03-15 12:16:25 +01:00
parent 0f8ffa806b
commit fa952958a5

View file

@ -1163,7 +1163,6 @@ psa_status_t psa_driver_wrapper_hash_clone(
&target_operation->ctx.mbedtls_ctx ) );
#endif
default:
(void) source_operation;
(void) target_operation;
return( PSA_ERROR_BAD_STATE );
}
@ -1188,7 +1187,6 @@ psa_status_t psa_driver_wrapper_hash_update(
input, input_length ) );
#endif
default:
(void) operation;
(void) input;
(void) input_length;
return( PSA_ERROR_BAD_STATE );
@ -1216,7 +1214,6 @@ psa_status_t psa_driver_wrapper_hash_finish(
break;
#endif
default:
(void) operation;
(void) hash;
(void) hash_size;
(void) hash_length;