Index: courgette/ensemble.cc |
diff --git a/courgette/ensemble.cc b/courgette/ensemble.cc |
index d5277a472d4ceade5246b61dcf4bf1718644f619..631dd12c920224e74913bfd06ce7104c78de4a32 100644 |
--- a/courgette/ensemble.cc |
+++ b/courgette/ensemble.cc |
@@ -8,7 +8,7 @@ |
#include <stdint.h> |
#include "base/strings/string_number_conversions.h" |
- |
+#include "courgette/program_detector.h" |
#include "courgette/region.h" |
#include "courgette/simple_delta.h" |
#include "courgette/streams.h" |
@@ -41,11 +41,9 @@ Status Ensemble::FindEmbeddedElements() { |
while (position < length) { |
ExecutableType type; |
size_t detected_length; |
- |
Status result = DetectExecutableType(start + position, |
length - position, |
&type, &detected_length); |
- |
if (result == C_OK) { |
Region region(start + position, detected_length); |