Fix harmless compiler warnings.

FossilOrigin-Name: 1adf4e60391326ba699260402c06604ea25b456e903157ecb05017e7ea954fc4
This commit is contained in:
mistachkin 2018-01-09 00:26:39 +00:00
parent 7c15ac1ada
commit 88a1d6b92c
3 changed files with 10 additions and 10 deletions

View File

@ -714,7 +714,7 @@ static int zipfileDeflate(
){
int nAlloc = (int)compressBound(nIn);
u8 *aOut;
int rc;
int rc = SQLITE_OK;
aOut = (u8*)sqlite3_malloc(nAlloc);
if( aOut==0 ){
@ -1199,7 +1199,7 @@ static int zipfileUpdate(
int mode; /* Mode for new entry */
i64 mTime; /* Modification time for new entry */
i64 sz; /* Uncompressed size */
i64 sz = 0; /* Uncompressed size */
const char *zPath; /* Path for new entry */
int nPath; /* strlen(zPath) */
const u8 *pData = 0; /* Pointer to buffer containing content */

View File

@ -1,5 +1,5 @@
C Update\sthe\szipfile\smodule\sso\sthat\sit\smatches\sthe\sdocumentation.
D 2018-01-08T19:59:59.813
C Fix\sharmless\scompiler\swarnings.
D 2018-01-09T00:26:39.624
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
F Makefile.in 12b6daa4bdb03fa87da27cbc205ff88ace645475b5be79414a3038b68ade14cb
@ -303,7 +303,7 @@ F ext/misc/vfsstat.c bf10ef0bc51e1ad6756629e1edb142f7a8db1178
F ext/misc/vtablog.c 31d0d8f4406795679dcd3a67917c213d3a2a5fb3ea5de35f6e773491ed7e13c9
F ext/misc/vtshim.c 1976e6dd68dd0d64508c91a6dfab8e75f8aaf6cd
F ext/misc/wholenumber.c 784b12543d60702ebdd47da936e278aa03076212
F ext/misc/zipfile.c d576a5b473333f5d14f9380cf005b52a684a1ee46d4a6cfb08802564e6365e5e
F ext/misc/zipfile.c 9c3f5d7ebee44c7d2ee271232fda5e787261fd082f673caea32f14739c782059
F ext/rbu/rbu.c ea7d1b7eb44c123a2a619332e19fe5313500705c4a58aaa1887905c0d83ffc2e
F ext/rbu/rbu1.test 43836fac8c7179a358eaf38a8a1ef3d6e6285842
F ext/rbu/rbu10.test 1846519a438697f45e9dcb246908af81b551c29e1078d0304fae83f1fed7e9ee
@ -1697,7 +1697,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 7a93dd784bfdbf01927979a61643796e0901d9ac285fe4214677838def93a9a4
R 86cc2218634a3d23586f8875ed6e23c5
U dan
Z 3ef32c645be21defc25c769ce8063d43
P 7e7e472fa91a2bad2e521d4d67f176c8eb9edc1a07b283e425ea0fa2b6abba1f
R 1c74e64e0b3c653606aafbb1d2f630fb
U mistachkin
Z 807ee13ef468838926808e39283b80c4

View File

@ -1 +1 @@
7e7e472fa91a2bad2e521d4d67f176c8eb9edc1a07b283e425ea0fa2b6abba1f
1adf4e60391326ba699260402c06604ea25b456e903157ecb05017e7ea954fc4