diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-06 09:34:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-06 09:34:00 +0100 |
| commit | 7f7c35f1dd5032b22c6af20db7caca3335096a0d (patch) | |
| tree | 3033fc548433301c547576bf7cce1e7b9ac87fc4 /src/lib | |
| parent | c7dbefa410221effc189810611df60e5be1ffcc0 (diff) | |
Fix warning.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/util.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 200d311dc..86046bcf8 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -283,7 +283,8 @@ terminate () try { // try once to re-throw currently active exception - if (!tried_throw++) { + if (!tried_throw) { + tried_throw = true; throw; } } |
