summaryrefslogtreecommitdiff
path: root/libs/ptformat/ptfformat.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ptformat/ptfformat.cc')
-rw-r--r--libs/ptformat/ptfformat.cc2
1 files changed, 2 insertions, 0 deletions
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') &&