Commit f80a8bbee8665defb32f26029325667704bb4776
1 parent
e48f3741c3
Exists in
v2017.01-smarct4x
and in
37 other branches
sandbox: Fix warnings in cpu.c and os.c
This fixes the following two problems: cppcheck reports: [arch/sandbox/cpu/start.c:132]: (error) Uninitialized variable: err [arch/sandbox/cpu/os.c:371]: (error) Memory leak: fname Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Wolfgang Denk <wd@denx.de>
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
arch/sandbox/cpu/os.c
arch/sandbox/cpu/start.c