mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
Remove unnecessary null pointer checks
This commit is contained in:
parent
eae4fd6afd
commit
6e5d0b7594
5 changed files with 8 additions and 14 deletions
|
@ -86,9 +86,7 @@ template <typename T, typename X> int lp_solver<T, X>::get_column_index_by_name(
|
|||
|
||||
|
||||
template <typename T, typename X> lp_solver<T, X>::~lp_solver(){
|
||||
if (m_A != nullptr) {
|
||||
delete m_A;
|
||||
}
|
||||
delete m_A;
|
||||
for (auto t : m_map_from_var_index_to_column_info) {
|
||||
delete t.second;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue