app proto detect: fix valgrind test warnings

Only in unittests when debug is enabled would valgrind warn about
a print statement.
pull/753/head
Victor Julien 13 years ago
parent a456bd8181
commit ff16d6fa53

@ -2706,7 +2706,7 @@ static int AppLayerProtoDetectPPTestData(AppLayerProtoDetectProbingParser *pp,
int no_of_ip_proto) int no_of_ip_proto)
{ {
int result = 0; int result = 0;
int i, j, k; int i = -1, j = -1 , k = -1;
#ifdef DEBUG #ifdef DEBUG
int dir = 0; int dir = 0;
#endif #endif

Loading…
Cancel
Save