about summary refs log tree commit diff homepage
path: root/include
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2019-05-30 17:12:30 +0100
committerMartinNowack <martin.nowack@gmail.com>2019-06-04 11:55:50 +0200
commit32892a0c836c6153808e2c821b86b5d36db51cbf (patch)
tree6cd97b9b18a5e1ce874be126dcd134bf67ee5205 /include
parentade2bf89486ae2e44571fb547dbc96488fc3dab4 (diff)
downloadklee-32892a0c836c6153808e2c821b86b5d36db51cbf.tar.gz
Remove parenthesis around returns, as reported and discussed in #891
Diffstat (limited to 'include')
-rw-r--r--include/klee/SolverImpl.h2
-rw-r--r--include/klee/util/ArrayExprHash.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/klee/SolverImpl.h b/include/klee/SolverImpl.h
index 6ea06e2a..e1b1f3d2 100644
--- a/include/klee/SolverImpl.h
+++ b/include/klee/SolverImpl.h
@@ -103,7 +103,7 @@ namespace klee {
 
     virtual char *getConstraintLog(const Query& query)  {
         // dummy
-        return(NULL);
+        return nullptr;
     }
 
     virtual void setCoreSolverTimeout(time::Span timeout) {};
diff --git a/include/klee/util/ArrayExprHash.h b/include/klee/util/ArrayExprHash.h
index 32a6fc1a..e353881f 100644
--- a/include/klee/util/ArrayExprHash.h
+++ b/include/klee/util/ArrayExprHash.h
@@ -88,7 +88,7 @@ bool ArrayExprHash<T>::lookupArrayExpr(const Array* array, T& exp) const {
     exp = it->second;
     res = true;
   }  
-  return(res);  
+  return res;
 }
 
 template<class T>
@@ -117,7 +117,7 @@ bool ArrayExprHash<T>::lookupUpdateNodeExpr(const UpdateNode* un, T& exp) const
     exp = it->second;
     res = true;
   }  
-  return(res);   
+  return res;
 }
 
 template<class T>