Skip to content

Commit 96af57c

Browse files
authored
Merge pull request #473 from borman/develop
2 parents 33e94d4 + 4f14c8e commit 96af57c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

include/boost/test/impl/unit_test_main.ipp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,9 @@ unit_test_main( init_unit_test_func init_func, int argc, char* argv[] )
212212

213213
// getchar is defined as a macro in uClibc. Use parenthesis to fix
214214
// gcc bug 58952 for gcc <= 4.8.2.
215-
(std::getchar)();
215+
int ch = (std::getchar)();
216+
boost::ignore_unused(ch);
217+
216218
results_reporter::get_stream() << "Continuing..." << std::endl;
217219
}
218220

0 commit comments

Comments
 (0)