Return 0 for the size_t return type.
llvm-svn: 153930
This commit is contained in:
@@ -51,7 +51,7 @@ size_t
|
||||
SBStream::GetSize()
|
||||
{
|
||||
if (m_is_file || m_opaque_ap.get() == NULL)
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
return static_cast<StreamString *>(m_opaque_ap.get())->GetSize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user