1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35: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:
Zygo Blaxell 2021-11-29 00:55:41 -05:00
parent f5c4714a28
commit 0dca6f74b0

View File

@ -604,7 +604,7 @@ public:
void set_workaround_btrfs_send(bool do_avoid);
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);
};