warning: ‘OPT’ may be used uninitialized in this function
Now OPT is initialized to NULL. I'm not certain if this is the correct fix;
others please review.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75321
91177308-0d34-0410-b5e6-
96231b3b80d8
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();