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 12 years ago
parent a456bd8181
commit ff16d6fa53

@ -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

Loading…
Cancel
Save