projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small fixes and tidy-ups spotted by cppcheck.
[dcpomatic.git]
/
src
/
lib
/
util.cc
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index 0a6f381db8adf23cd7c8028e3dd2cc624f49d575..807883ca0906ffc787ff8da0f54533c50566df9e 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-287,9
+287,8
@@
set_backtrace_file (boost::filesystem::path p)
void
terminate ()
{
- static bool tried_throw = false;
-
try {
+ static bool tried_throw = false;
// try once to re-throw currently active exception
if (!tried_throw) {
tried_throw = true;