mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
cli: add Invalid mode
Silences compile warning
This commit is contained in:
@@ -13,6 +13,7 @@ class CLI : public QObject
|
||||
|
||||
public:
|
||||
enum Mode {
|
||||
Invalid,
|
||||
ExportContacts,
|
||||
ExportTxHistory,
|
||||
BruteforcePassword
|
||||
|
||||
@@ -176,6 +176,7 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) {
|
||||
return CLI::Mode::ExportTxHistory;
|
||||
if (bruteforcePassword)
|
||||
return CLI::Mode::BruteforcePassword;
|
||||
return CLI::Mode::Invalid;
|
||||
}();
|
||||
|
||||
CLI cli{mode, &parser, &app};
|
||||
|
||||
Reference in New Issue
Block a user