[rtems-tools commit] tester/covoar/covoar.cc: Add missing throw keyword
Joel Sherrill
joel at rtems.org
Tue Jan 2 23:00:36 UTC 2018
Module: rtems-tools
Branch: master
Commit: 033344235cf8eef8685a9b3141f86bcf91e43607
Changeset: http://git.rtems.org/rtems-tools/commit/?id=033344235cf8eef8685a9b3141f86bcf91e43607
Author: Joel Sherrill <joel at rtems.org>
Date: Tue Jan 2 16:59:31 2018 -0600
tester/covoar/covoar.cc: Add missing throw keyword
Why clang caught this and gcc didn't is a mystery.
Updates #3191.
---
tester/covoar/covoar.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tester/covoar/covoar.cc b/tester/covoar/covoar.cc
index ef1dc79..c36b00a 100644
--- a/tester/covoar/covoar.cc
+++ b/tester/covoar/covoar.cc
@@ -175,7 +175,7 @@ int main(
*/
if ( !target ) {
option = "target -T";
- option;
+ throw option;
}
/*
More information about the vc
mailing list