Skip to content

Commit ef489e9

Browse files
author
Zachary Turner
committedJan 22, 2015
Error::Clear() should reset the type to invalid instead of generic.
This matches the behavior of the default constructor, so is technically more correct. Patch by Chaoren Lin Differential Revision: http://reviews.llvm.org/D7113 llvm-svn: 226851
1 parent f12b334 commit ef489e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lldb/source/Core/Error.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ void
146146
Error::Clear ()
147147
{
148148
m_code = 0;
149-
m_type = eErrorTypeGeneric;
149+
m_type = eErrorTypeInvalid;
150150
m_string.clear();
151151
}
152152

0 commit comments

Comments
 (0)
Please sign in to comment.