security: initialize transform::Downstream::m_index

This avoids use of uninitialised value in Security/Transform/TestBoolSink/Basic
test case.

refs #3763

Change-Id: If24929d4c85d3a803d3901acb7cc4db6d7cd7798
diff --git a/src/security/transform/transform-base.cpp b/src/security/transform/transform-base.cpp
index 60e967b..b04c3f5 100644
--- a/src/security/transform/transform-base.cpp
+++ b/src/security/transform/transform-base.cpp
@@ -33,6 +33,7 @@
 
 Downstream::Downstream()
   : m_isEnd(false)
+  , m_index(0)
 {
 }
 
diff --git a/src/security/transform/transform-base.hpp b/src/security/transform/transform-base.hpp
index b7a4561..94fd43c 100644
--- a/src/security/transform/transform-base.hpp
+++ b/src/security/transform/transform-base.hpp
@@ -219,7 +219,6 @@
   isOutputBufferEmpty() const;
 
 private:
-
   /**
    * @brief Abstraction of data processing in an intermediate module
    */