mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 01:51:03 +09: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
Notes:
sideshowbarker
2024-07-17 07:31:41 +09:00
Author: https://github.com/Quaker762
Commit: 8df09f6e13
Pull-request: https://github.com/SerenityOS/serenity/pull/15125
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
Add a link
Reference in a new issue