diff options
-rw-r--r-- | onlineupdate/source/mbsdiff/bsdiff.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/onlineupdate/source/mbsdiff/bsdiff.cxx b/onlineupdate/source/mbsdiff/bsdiff.cxx index ef80bd99770f..d455bf98046d 100644 --- a/onlineupdate/source/mbsdiff/bsdiff.cxx +++ b/onlineupdate/source/mbsdiff/bsdiff.cxx @@ -212,9 +212,9 @@ search(int32_t *I,unsigned char *old,int32_t oldsize, int main(int argc,char *argv[]) { int fd; - unsigned char *old,*newbuf; - int32_t oldsize,newsize; - int32_t *I,*V; + unsigned char *old = nullptr,*newbuf = nullptr; + int32_t oldsize = 0,newsize = 0; + int32_t *I = nullptr,*V = nullptr; int32_t scan,pos,len; int32_t lastscan,lastpos,lastoffset; |