Skip to content

Commit

Permalink
entry_std.c: Initialize num_params to fix gcc warning
Browse files Browse the repository at this point in the history
Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
  • Loading branch information
Sumit Garg authored and jforissier committed Oct 23, 2017
1 parent b644907 commit e4a1f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/arch/arm/tee/entry_std.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ void __weak tee_entry_std(struct thread_smc_args *smc_args)
{
paddr_t parg;
struct optee_msg_arg *arg = NULL; /* fix gcc warning */
uint32_t num_params;
uint32_t num_params = 0; /* fix gcc warning */
struct mobj *mobj;

if (smc_args->a0 != OPTEE_SMC_CALL_WITH_ARG) {
Expand Down

0 comments on commit e4a1f58

Please sign in to comment.