mirror of
https://github.com/feather-wallet/feather.git
synced 2025-03-22 23:08:44 +00:00
cli: add Invalid mode
Silences compile warning
This commit is contained in:
parent
d26d25186d
commit
fb36bf54d3
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ class CLI : public QObject
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum Mode {
|
enum Mode {
|
||||||
|
Invalid,
|
||||||
ExportContacts,
|
ExportContacts,
|
||||||
ExportTxHistory,
|
ExportTxHistory,
|
||||||
BruteforcePassword
|
BruteforcePassword
|
||||||
|
|
|
@ -176,6 +176,7 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) {
|
||||||
return CLI::Mode::ExportTxHistory;
|
return CLI::Mode::ExportTxHistory;
|
||||||
if (bruteforcePassword)
|
if (bruteforcePassword)
|
||||||
return CLI::Mode::BruteforcePassword;
|
return CLI::Mode::BruteforcePassword;
|
||||||
|
return CLI::Mode::Invalid;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
CLI cli{mode, &parser, &app};
|
CLI cli{mode, &parser, &app};
|
||||||
|
|
Loading…
Reference in a new issue