diff options
-rw-r--r-- | lib/Sema/SemaExpr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index 8611fd5461..058bda4d10 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -3832,8 +3832,8 @@ inline QualType Sema::CheckAdditionOperands( // C99 6.5.6 if (IExp->getType()->isIntegerType()) { QualType PointeeTy; - const PointerType *PTy; - const ObjCObjectPointerType *OPT; + const PointerType *PTy = NULL; + const ObjCObjectPointerType *OPT = NULL; if ((PTy = PExp->getType()->getAsPointerType())) PointeeTy = PTy->getPointeeType(); |