author | Etienne Carriere <etienne.carriere@linaro.org> | |
Thu, 21 Mar 2019 08:43:35 +0000 (09:43 +0100) | ||
committer | Jerome Forissier <jerome.forissier@linaro.org> | |
Thu, 21 Mar 2019 08:46:53 +0000 (09:46 +0100) | ||
commit | 924a4741d92417a29495fed39e371c8556a1e6c5 | |
tree | 72cffa7a98788a631f0ca3863e465e413edf3f07 | tree | snapshot (tar.xz tar.gz zip) |
parent | 9dbc61b3767ab1c3dfd0a19af02926b92ae09247 | commit | diff |
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>
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: