commit | 3960d413db7e60d3e80b6306dbc573b6956d25a2 | [log] [tgz] |
---|---|---|
author | Maksim Masalski <maksim.masalski@intel.com> | Wed Jun 02 15:36:42 2021 +0800 |
committer | Kumar Gala <kumar.gala@gmail.com> | Fri Jun 04 16:20:44 2021 -0500 |
tree | c08e933b6383dfb7691c4326fe2a3e0501df8888 | |
parent | 9f3d34169fa5df9d4217195855d86f9e1fb5d962 [diff] |
lib: os: add braces to 'if' statements An 'if' (expression) construct shall be followed by a compound statement. Add braces to improve readability and maintainability. Found as a coding guideline violation (MISRA R15.6) by static coding scanning tool. Signed-off-by: Maksim Masalski <maksim.masalski@intel.com>