projects
/
drnoksnes
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor code trimming and reformatting
[drnoksnes]
/
unzip.c
diff --git
a/unzip.c
b/unzip.c
index
db32bd3
..
4448d85
100644
(file)
--- a/
unzip.c
+++ b/
unzip.c
@@
-204,8
+204,8
@@
local int unzlocal_getShort (pzlib_filefunc_def,filestream,pX)
uLong *pX;
{
uLong x ;
uLong *pX;
{
uLong x ;
- int i;
- int err;
+ int i = 0;
+ int err = UNZ_OK;
err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
x = (uLong)i;
err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
x = (uLong)i;
@@
-232,8
+232,8
@@
local int unzlocal_getLong (pzlib_filefunc_def,filestream,pX)
uLong *pX;
{
uLong x ;
uLong *pX;
{
uLong x ;
- int i;
- int err;
+ int i = 0;
+ int err = UNZ_OK;
err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
x = (uLong)i;
err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);
x = (uLong)i;