Skip to content

Commit 465ce00

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Remove unused exception parameter from biggrep/indexer/BentoNotebookTool.cpp
Summary: `-Wunused-exception-parameter` has identified an unused exception parameter. This diff removes it. This: ``` try { ... } catch (exception& e) { // no use of e } ``` should instead be written as ``` } catch (exception&) { ``` If the code compiles, this is safe to land. Reviewed By: palmje Differential Revision: D55092140 fbshipit-source-id: 1ff2ddd032a23c220b89a6b90f1d50a06a37f412
1 parent 90a2aff commit 465ce00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cachelib/cachebench/cache/Cache-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Cache<Allocator>::Cache(const CacheConfig& config,
131131
if (!isDir) {
132132
isBlk = cachelib::util::isBlk(path);
133133
}
134-
} catch (const std::system_error& e) {
134+
} catch (const std::system_error&) {
135135
XLOGF(INFO, "nvmCachePath {} does not exist", path);
136136
isDir = false;
137137
}

0 commit comments

Comments
 (0)