projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't declare a variable for exceptions we discard
[folly.git]
/
folly
/
FormatArg.h
diff --git
a/folly/FormatArg.h
b/folly/FormatArg.h
index 701654b3397453a8a59e7c924c0a6ff08ff858dc..89c7e9337b5a3486f2841ba1da2b00889d5dd827 100644
(file)
--- a/
folly/FormatArg.h
+++ b/
folly/FormatArg.h
@@
-267,7
+267,7
@@
inline int FormatArg::splitIntKey() {
}
try {
return to<int>(doSplitKey<true>());
- } catch (const std::out_of_range&
e
) {
+ } catch (const std::out_of_range&) {
error("integer key required");
return 0; // unreached
}