mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
Return 0 for the size_t return type.
llvm-svn: 153930
This commit is contained in:
1 parent
a0cd2bca6d
commit
60fd91ff48
1 file changed
+1
-1
@@ -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