Remove unused variable, fix indentation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153220 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
index 84366f4..65a6aac 100644
--- a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
+++ b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
@@ -815,14 +815,12 @@
 
     // Find the most recent expression bound to the symbol in the current
     // context.
-    ProgramPoint L = N->getLocation();
     if (!ReferenceRegion) {
-      const MemRegion *MR = C.getLocationRegionIfPostStore(N);
-      if (MR) {
-          SVal Val = State->getSVal(MR);
-          if (Val.getAsLocSymbol() == Sym)
-            ReferenceRegion = MR;
-        }
+      if (const MemRegion *MR = C.getLocationRegionIfPostStore(N)) {
+        SVal Val = State->getSVal(MR);
+        if (Val.getAsLocSymbol() == Sym)
+          ReferenceRegion = MR;
+      }
     }
 
     // Allocation node, is the last node in the current context in which the