linaro-swg / optee_examples

OP-TEE Sample Applications
Other
166 stars 141 forks source link

main.c: avoid unused parameter warning or error #28

Closed vchong closed 6 years ago

vchong commented 6 years ago

Signed-off-by: Victor Chong victor.chong@linaro.org

etienne-lms commented 6 years ago

Acked-by: Etienne Carriere <etienne.carriere@linaro.org>

jenswi-linaro commented 6 years ago

It is a bit unusual to declare main() in that way, but it's supported in at least C99. Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

vchong commented 6 years ago

It is a bit unusual to declare main() in that way, but it's supported in at least C99.

Right. The other option is to add some dummy code to 'use' the args. Not sure about anything else. Figured this might be more acceptable.

Tags added and ready for merge. Thanks!