IVGCVSW-696 Coverity: Variable declared without initializing

Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ibf9bfa28099b476862ff6ac87e10ff28db8ff3ad
diff --git a/ConversionUtils_1_2.hpp b/ConversionUtils_1_2.hpp
index b07d38d..171d61b 100644
--- a/ConversionUtils_1_2.hpp
+++ b/ConversionUtils_1_2.hpp
@@ -2670,7 +2670,7 @@
     //     If set to 0.0 then clipping is disabled.
     // 22: The clipping threshold: for the output from the projection layer, such that values are bound within
     //     [-proj_clip, proj_clip]. If set to 0.0 then clipping is disabled.
-    ActivationFn activation;
+    ActivationFn activation = ActivationFn::kActivationNone;
     float cellClip;
     float projClip;
     if (!GetInputActivationFunctionFromTensor<HalPolicy>(operation, 20, activation, model, data) ||
@@ -3315,7 +3315,7 @@
     // 22: The clipping threshold: for the output from the projection layer, such that values are bound within
     //     [-proj_clip, proj_clip]. If set to 0.0 then clipping is disabled.
     // Determine data type of input tensor
-    ActivationFn activation;
+    ActivationFn activation = ActivationFn::kActivationNone;
     LstmDescriptor desc;
 
     if (inputType == HalOperandType::TENSOR_FLOAT32)