about summary refs log tree commit diff homepage
path: root/lib/Core/Searcher.cpp
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2014-04-24 14:08:22 +0100
committerDan Liew <daniel.liew@imperial.ac.uk>2014-04-24 14:08:22 +0100
commit9f183220d042e78df8ff8540a61be982cab3aec9 (patch)
tree3f2dbd0fa32712b5827ea715e1c2a1425209d1a5 /lib/Core/Searcher.cpp
parent0a420e03da2c610be51d217c60c65381cb482b95 (diff)
downloadklee-9f183220d042e78df8ff8540a61be982cab3aec9.tar.gz
Removed ununsed Executor field in WeightedRandomSearcher to silence
clang warning.
Diffstat (limited to 'lib/Core/Searcher.cpp')
-rw-r--r--lib/Core/Searcher.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Core/Searcher.cpp b/lib/Core/Searcher.cpp
index 2dbabd01..8c3e26bc 100644
--- a/lib/Core/Searcher.cpp
+++ b/lib/Core/Searcher.cpp
@@ -157,10 +157,8 @@ void RandomSearcher::update(ExecutionState *current,
 
 ///
 
-WeightedRandomSearcher::WeightedRandomSearcher(Executor &_executor,
-                                               WeightType _type) 
-  : executor(_executor),
-    states(new DiscretePDF<ExecutionState*>()),
+WeightedRandomSearcher::WeightedRandomSearcher(WeightType _type)
+  : states(new DiscretePDF<ExecutionState*>()),
     type(_type) {
   switch(type) {
   case Depth: