From 84938f31cfe603cbeb1c38c0898f50a91cdc5b63 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Sun, 9 Aug 2015 01:42:22 +1000 Subject: Fix more warnings Signed-off-by: Damien Zammit --- libs/ptformat/ptfformat.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ptformat/ptfformat.cc') diff --git a/libs/ptformat/ptfformat.cc b/libs/ptformat/ptfformat.cc index 21c6dcaae7..97a18c1fd5 100644 --- a/libs/ptformat/ptfformat.cc +++ b/libs/ptformat/ptfformat.cc @@ -796,6 +796,7 @@ PTFFormat::parserest89(void) { uint8_t somethingbytes = 0; uint8_t skipbytes = 0; + k = 0; while (k < len) { if ( (ptfunxored[k ] == 'S') && (ptfunxored[k+1] == 'n') && @@ -1044,6 +1045,7 @@ PTFFormat::parserest10(void) { uint8_t somethingbytes = 0; uint8_t skipbytes = 0; + k = 0; while (k < len) { if ( (ptfunxored[k ] == 'S') && (ptfunxored[k+1] == 'n') && -- cgit v1.2.3