mirror of
https://github.com/Zygo/bees.git
synced 2025-05-18 05:45:45 +02:00
roots: remove duplicate default scan mode setting
Set the constructor's default scan mode to an invalid mode, so if we change the default, we don't have to update two places. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
f5c4714a28
commit
0dca6f74b0
@ -604,7 +604,7 @@ public:
|
|||||||
void set_workaround_btrfs_send(bool do_avoid);
|
void set_workaround_btrfs_send(bool do_avoid);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ScanMode m_scan_mode = SCAN_MODE_INDEPENDENT;
|
ScanMode m_scan_mode = SCAN_MODE_COUNT; // must be set
|
||||||
static string scan_mode_ntoa(ScanMode new_mode);
|
static string scan_mode_ntoa(ScanMode new_mode);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user