From 2a199294a1bfd8511caa0ee0b421c2d2f65de1da Mon Sep 17 00:00:00 2001 From: Murphy Berzish Date: Sun, 21 Aug 2016 00:43:00 -0400 Subject: [PATCH] remove incorrect null pointer check from theory_str::gen_len_val_options_for_free_var everything that calls this method knows that it can legally return null --- src/smt/theory_str.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/smt/theory_str.cpp b/src/smt/theory_str.cpp index a0b06bcbf..28420de26 100644 --- a/src/smt/theory_str.cpp +++ b/src/smt/theory_str.cpp @@ -8234,7 +8234,6 @@ expr * theory_str::gen_len_val_options_for_free_var(expr * freeVar, expr * lenTe TRACE("t_str", tout << "length is fixed; generating models for free var" << std::endl;); // length is fixed expr * valueAssert = gen_free_var_options(freeVar, effectiveLenInd, effectiveLenIndiStr, NULL, ""); - SASSERT(valueAssert != NULL); return valueAssert; } } // fVarLenCountMap.find(...)