Explicitly initialize local variables

This change initializes all local variables to prevent build issues
(warnings and/or errors) in OP-TEE client package.

Use memset() to initialize structured and typed variables. This change
changes ordering in the local variable definition block at function
head. Structured variables are defined below, right above the memset()
call block for their initialization, when possible.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
12 files changed
tree: 72cffa7a98788a631f0ca3863e465e413edf3f07
  1. libteec/
  2. public/
  3. tee-supplicant/
  4. .gitignore
  5. .travis.yml
  6. Android.mk
  7. android_flags.mk
  8. CMakeLists.txt
  9. CMakeToolchain.txt
  10. config.mk
  11. flags.mk
  12. LICENSE
  13. Makefile
  14. README.md
README.md

OP-TEE Client API

This git contains source code for the non-secure side implementation of the OP-TEE project making up the client library and tee-supplicant.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_client.

// OP-TEE core maintainers