diff options
author | Matthew Endsley <mendsley@gmail.com> | 2012-05-14 02:29:30 -0700 |
---|---|---|
committer | Matthew Endsley <mendsley@gmail.com> | 2012-05-14 02:29:30 -0700 |
commit | 02c0970f16178a1761a54a65ce80a6387c12491c (patch) | |
tree | 6ad1442b7e74a558daf6c52a512b32b30471b741 | |
parent | 68453c9e9765d737f789470cd0bf3b98f3dce1af (diff) | |
download | bsdiff-02c0970f16178a1761a54a65ce80a6387c12491c.tar.gz |
gcc -O2 complains about unitiailized pos
-rw-r--r-- | bsdiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -252,7 +252,7 @@ static int bsdiff_internal(const struct bsdiff_request req) buffer = req.buffer; /* Compute the differences, writing ctrl as we go */ - scan=0;len=0; + scan=0;len=0;pos=0; lastscan=0;lastpos=0;lastoffset=0; while(scan<req.newsize) { oldscore=0; |