Work in progress for:

rdar://problem/10577182
Audit lldb API impl for places where we need to perform a NULL check

Add NULL checks for SBStream APIs.

llvm-svn: 146934
This commit is contained in:
Johnny Chen committed 2011-12-20 00:41:28 +00:00
1 parent 98a52db80c
commit 4f8189bc6b
2 files changed
+7 -1

No files matched your search

+2
View File
@@ -59,6 +59,8 @@ SBStream::GetSize()
void
SBStream::Printf (const char *format, ...)
{
if (!format)
return;
va_list args;
va_start (args, format);
ref().PrintfVarArg (format, args);