mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Utilities/lsusb: Fix uninitialized variable error
The variable `print_verbose` (which prints verbose information about the USB devices connected to the system) was uninitialized in `lsusb`. This was causing the verbose information to be printed if `-v` was NOT seen on the command line.
This commit is contained in:
parent
7661b8ca02
commit
8df09f6e13
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
bool print_verbose;
|
||||
bool print_verbose = false;
|
||||
bool flag_show_numerical = false;
|
||||
Core::ArgsParser args;
|
||||
args.set_general_help("List USB devices.");
|
||||
|
|
Loading…
Add table
Reference in a new issue