Diff
Not logged in

Differences From:

File src/delta.c part of check-in [f6b4c6458b] - Raise the hash chain limit in the delta module from 50 to 250. by drh on 2007-09-06 00:47:02. Also file src/delta.c part of check-in [01e3e3f51e] - Merge in the delta encoder changes. by drh on 2007-09-10 00:43:02. Also file src/delta.c part of check-in [bbcb6326c9] - Pulled in the navbar and timeline changes. by aku on 2007-09-17 00:58:51. [view]

To:

File src/delta.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/delta.c part of check-in [92291035fe] - Merged the compiler warning fixes into mainstream by jnc on 2007-09-25 21:28:30. Also file src/delta.c part of check-in [d0305b305a] - Merged mainline into my branch to get the newest application. by aku on 2007-12-05 08:07:46. [view]

@@ -335,9 +335,9 @@
   */
   base = 0;    /* We have already generated everything before zOut[base] */
   while( base+NHASH<lenOut ){
     int iSrc, iBlock;
-    unsigned int bestCnt, bestOfst, bestLitsz;
+    unsigned int bestCnt, bestOfst=0, bestLitsz=0;
     hash_init(&h, &zOut[base]);
     i = 0;     /* Trying to match a landmark against zOut[base+i] */
     bestCnt = 0;
     while( 1 ){