]> granicus.if.org Git - clang/commitdiff
Remove no longer valid assertion.
authorTed Kremenek <kremenek@apple.com>
Thu, 1 May 2008 23:28:56 +0000 (23:28 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 1 May 2008 23:28:56 +0000 (23:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50556 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFRefCount.cpp

index 104391c13a7cccf1367bff31806291a8aa7d1b04..4b1ef88971e86a1dcdba3ac4a6109b25abb39574 100644 (file)
@@ -1292,10 +1292,6 @@ void CFRefCount::EvalReturn(ExplodedNodeSet<ValueState>& Dst,
     }
       
     default: 
-      // None of the error states should be possible at this point.
-      // A symbol could not have been leaked (yet) if we are returning it
-      // (and thus it is still live), and the other errors are hard errors.
-      assert(false);
       return;
   }