Initialize TypeOrExpr to NULL to silence a false-positive uninitialized warning
from certain GCC's. Patch by Neil Vachharajani! llvm-svn: 113995
This commit is contained in:
parent
0f592ace6b
commit
970aed92c0
|
@ -1898,7 +1898,7 @@ ExprResult Parser::ParseObjCMessageExpression() {
|
|||
|
||||
// Parse the receiver, which is either a type or an expression.
|
||||
bool IsExpr;
|
||||
void *TypeOrExpr;
|
||||
void *TypeOrExpr = NULL;
|
||||
if (ParseObjCXXMessageReceiver(IsExpr, TypeOrExpr)) {
|
||||
SkipUntil(tok::r_square);
|
||||
return ExprError();
|
||||
|
|
Loading…
Reference in New Issue