Skip to content

Commit 7874559

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Remove unused exception parameter from multifeed/tables/RankingConfigTable.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: D55548526 fbshipit-source-id: 081fb326da758a111e7f1243c0539f828808611e
1 parent bdde5ad commit 7874559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multipy/runtime/test_deploy_lib.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ bool raise_and_catch_exception(bool except) {
5454
throw MyError("yep");
5555
}
5656
return false;
57-
} catch (MyError& c) {
57+
} catch (MyError&) {
5858
return true;
5959
}
6060
}

0 commit comments

Comments
 (0)