aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/gjavah.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-12-09 01:30:00 +0000
committerTom Tromey <tromey@gcc.gnu.org>2001-12-09 01:30:00 +0000
commit897c9e66debb64ee4785f78984937a811d16c4c1 (patch)
tree3c6894bd479a2c80285d401638d8117d3a068e16 /gcc/java/gjavah.c
parent4440ffc4a58889d19c880deaad57664edbbe4732 (diff)
downloadgcc-897c9e66debb64ee4785f78984937a811d16c4c1.zip
gcc-897c9e66debb64ee4785f78984937a811d16c4c1.tar.gz
gcc-897c9e66debb64ee4785f78984937a811d16c4c1.tar.bz2
gjavah.c (HANDLE_METHOD): Set `decompiled' before doing anything else.
* gjavah.c (HANDLE_METHOD): Set `decompiled' before doing anything else. From-SVN: r47802
Diffstat (limited to 'gcc/java/gjavah.c')
-rw-r--r--gcc/java/gjavah.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c
index 00f29f6..779e3ed 100644
--- a/gcc/java/gjavah.c
+++ b/gcc/java/gjavah.c
@@ -194,6 +194,7 @@ static int method_signature = 0;
{ \
method_synthetic = 0; \
method_printed = 0; \
+ decompiled = 0; \
method_signature = SIGNATURE; \
if (ATTRIBUTE_COUNT) \
method_synthetic = peek_attribute (jcf, ATTRIBUTE_COUNT, \
@@ -209,7 +210,6 @@ static int method_signature = 0;
} \
if (method_pass && !method_synthetic) \
{ \
- decompiled = 0; \
if (out) \
print_method_info (out, jcf, NAME, SIGNATURE, \
ACCESS_FLAGS); \