From 58ecd91326bdc011efe5fd0be11795b6cbca74b4 Mon Sep 17 00:00:00 2001 From: SherlockNoMad Date: Thu, 3 Mar 2016 15:08:24 -0800 Subject: [PATCH] Fix Windows build --- utilities/backupable/backupable_db.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/backupable/backupable_db.cc b/utilities/backupable/backupable_db.cc index cb85edc20..dd544871d 100644 --- a/utilities/backupable/backupable_db.cc +++ b/utilities/backupable/backupable_db.cc @@ -1616,7 +1616,7 @@ Status BackupEngineImpl::BackupMeta::LoadFromFile( std::string abs_path = backup_dir + "/" + filename; try { size = abs_path_to_size.at(abs_path); - } catch (std::out_of_range& e) { + } catch (std::out_of_range&) { return Status::NotFound("Size missing for pathname: " + abs_path); } }