summaryrefslogtreecommitdiff
path: root/gcc/java/jcf-io.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-05 07:22:17 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-05 07:22:17 +0000
commit45e9f8030b82e71990c2e0bff19bb5855e8f4a20 (patch)
tree0db63669724f9521ee83dc3f4ca9656d8bbe6a36 /gcc/java/jcf-io.c
parenta3f4b5ccaad9aec93bf280e5cbcb46ed42e24c1e (diff)
downloadgcc-45e9f8030b82e71990c2e0bff19bb5855e8f4a20.tar.gz
* expmed.c (expand_mult): Initialize coeff and is_neg.
java/ChangeLog: * jcf-io.c (read_zip_member): Initialize d_stream. fortran/ChangLog: PR fortran/53449 * parse.c (gfc_parse_file): Initialize errors_before. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189281 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf-io.c')
-rw-r--r--gcc/java/jcf-io.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c
index c50ec49ccc5..0fe30b30ca5 100644
--- a/gcc/java/jcf-io.c
+++ b/gcc/java/jcf-io.c
@@ -202,9 +202,7 @@ read_zip_member (JCF *jcf, ZipDirectory *zipd, ZipFile *zipf)
{
char *buffer;
z_stream d_stream; /* decompression stream */
- d_stream.zalloc = (alloc_func) 0;
- d_stream.zfree = (free_func) 0;
- d_stream.opaque = (voidpf) 0;
+ memset (&d_stream, 0, sizeof (d_stream));
jcf->buffer = XNEWVEC (unsigned char, zipd->uncompressed_size);
d_stream.next_out = jcf->buffer;