diff options
author | Martin Roth <martin@coreboot.org> | 2021-02-14 14:30:24 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-25 10:02:53 +0000 |
commit | 90a43067dda7a0c330b8a29a08ab3de6d1eae695 (patch) | |
tree | 37f34b58d70e43609ba38d4623ab877f5d1caa9d /util/uio_usbdebug | |
parent | a84414a0fe782c9ace668ae5ef25cfcb6f3340aa (diff) |
util/bucts: Fix compiler complaints shown with -Wextra
This fixes the following 2 complaints:
bucts.c: In function ‘main’:
error: unused parameter ‘envp’
error: ‘bucts_state’ may be used uninitialized in this function.
The bucts_state wasn't real, but the compiler couldn't tell, so use
one variable to check for modifications instead of two.
Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: Iff1aae3441ec366d272e88b6b6634980d61cb8ea
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50846
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/uio_usbdebug')
0 files changed, 0 insertions, 0 deletions