summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/cxa_exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxxabi/src/cxa_exception.cpp')
-rw-r--r--libcxxabi/src/cxa_exception.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/cxa_exception.cpp b/libcxxabi/src/cxa_exception.cpp
index a011dd0f30d..53623cfe181 100644
--- a/libcxxabi/src/cxa_exception.cpp
+++ b/libcxxabi/src/cxa_exception.cpp
@@ -388,7 +388,7 @@ __cxa_current_primary_exception() throw()
// get the current exception
__cxa_eh_globals* globals = __cxa_get_globals_fast();
if (NULL == globals)
- return NULL; // Never has been an exception
+ return NULL; // If there are no globals, there is no exception
__cxa_exception* current_exception = globals->caughtExceptions;
if (NULL == current_exception)
return NULL; // No current exception
OpenPOWER on IntegriCloud