mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-26 17:57:16 +00:00
cbootimage: simplify code
Testing for e == 0 after exiting the function in any other case a couple of lines earlier is useless. Found-by: Coverity Scan Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Signed-off-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
committed by
Stephen Warren
parent
11eeab462a
commit
141409fb20
@@ -211,7 +211,7 @@ main(int argc, char *argv[])
|
||||
|
||||
if (enable_debug) {
|
||||
/* Debugging information... */
|
||||
printf("bct size: %d\n", e == 0 ? context.bct_size : -1);
|
||||
printf("bct size: %d\n", context.bct_size);
|
||||
}
|
||||
|
||||
/* Open the raw output file. */
|
||||
|
||||
Reference in New Issue
Block a user