diff --git a/src/app-layer-detect-proto.c b/src/app-layer-detect-proto.c index cd1add8fce..e9e2c637c3 100644 --- a/src/app-layer-detect-proto.c +++ b/src/app-layer-detect-proto.c @@ -2706,7 +2706,7 @@ static int AppLayerProtoDetectPPTestData(AppLayerProtoDetectProbingParser *pp, int no_of_ip_proto) { int result = 0; - int i, j, k; + int i = -1, j = -1 , k = -1; #ifdef DEBUG int dir = 0; #endif