projects
/
platform
/
upstream
/
bsdiff.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68453c9
)
gcc -O2 complains about unitiailized pos
author
Matthew Endsley
<mendsley@gmail.com>
Mon, 14 May 2012 09:29:30 +0000
(
02:29
-0700)
committer
Matthew Endsley
<mendsley@gmail.com>
Mon, 14 May 2012 09:29:30 +0000
(
02:29
-0700)
bsdiff.c
patch
|
blob
|
history
diff --git
a/bsdiff.c
b/bsdiff.c
index
ffa47a1
..
92867d8
100644
(file)
--- a/
bsdiff.c
+++ b/
bsdiff.c
@@
-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;