@@ -64,6 +64,7 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
64
64
bool res = false ;
65
65
try {
66
66
int aInt (anet);
67
+ aInt++; // silence unused variable warnings to have a stable release in the ros buildfarm
67
68
} catch (const dg::ExceptionAbstract &aea) {
68
69
output << aea.getExceptionName ();
69
70
output2 << aea.what ();
@@ -78,6 +79,7 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
78
79
res = false ;
79
80
try {
80
81
bool abool (anet);
82
+ abool=!abool; // silence unused variable warnings to have a stable release in the ros buildfarm
81
83
} catch (const dg::ExceptionAbstract &aea) {
82
84
res = (aea.getCode () == dg::ExceptionAbstract::TOOLS);
83
85
}
@@ -88,6 +90,7 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
88
90
res = false ;
89
91
try {
90
92
unsigned int aint (anet);
93
+ aint++; // silence unused variable warnings to have a stable release in the ros buildfarm
91
94
} catch (const dg::ExceptionAbstract &aea) {
92
95
res = (aea.getCode () == dg::ExceptionAbstract::TOOLS);
93
96
}
@@ -98,6 +101,7 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
98
101
res = false ;
99
102
try {
100
103
double adouble (anet);
104
+ adouble++; // silence unused variable warnings to have a stable release in the ros buildfarm
101
105
} catch (const dg::ExceptionAbstract &aea) {
102
106
res = (aea.getCode () == dg::ExceptionAbstract::TOOLS);
103
107
}
@@ -108,6 +112,7 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
108
112
res = false ;
109
113
try {
110
114
float afloat (anet);
115
+ afloat++; // silence unused variable warnings to have a stable release in the ros buildfarm
111
116
} catch (const dg::ExceptionAbstract &aea) {
112
117
res = (aea.getCode () == dg::ExceptionAbstract::TOOLS);
113
118
}
0 commit comments