summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/regression-cxx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/regression-cxx.cpp b/src/test/regression-cxx.cpp
index dbe3ae49..b275bcd4 100644
--- a/src/test/regression-cxx.cpp
+++ b/src/test/regression-cxx.cpp
@@ -159,6 +159,7 @@ void test_cxx(void)
int caughtException = 0;
try {
+ icalerrno = ICAL_NO_ERROR;
VComponent v = VComponent(string("HFHFHFHF"));
} catch (icalerrorenum err) {
if (err == ICAL_BADARG_ERROR) {