Differences From:
File
src/diff.c
part of check-in
[dbda8d6ce9]
- Initial check-in of m1 sources.
by
drh on
2007-07-21 14:10:57.
[view]
To:
File
src/diff.c
part of check-in
[e63a9fd9d0]
- Fixed many uninitialized variable warnings and some potential bug found via -Wall -Werror on gcc.
by
jnc on
2007-09-25 21:21:35.
Also file
src/diff.c
part of check-in
[92291035fe]
- Merged the compiler warning fixes into mainstream
by
jnc on
2007-09-25 21:28:30.
[view]
@@ -175,9 +175,9 @@
x = y = 0;
cnt = nContext;
while( x<nA || y<nB ){
- int t1, t2;
+ int t1=0, t2=0;
if( (t1 = M(x+1,y))<0 || (t2 = M(x,y+1))<0 ){
if( cnt>=nContext ){
blob_appendf(pOut, "@@ -%d +%d @@\n",
x-nContext+iStart+2, y-nContext+iStart+2);