Skip to content

Commit 69fc2a2

Browse files
committed
Hew to upstream's declarations-before-code style
Also, the first commit neglected to say "Addresses #523", so here's that.
1 parent 234afe4 commit 69fc2a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pljava-so/src/main/c/Invocation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ void Invocation_popInvocation(bool wasException)
230230
{
231231
jthrowable ex = (jthrowable)JNI_getStaticObjectField(
232232
s_Invocation_class, s_Invocation_s_unhandled);
233+
bool already_hit = Exception_isPGUnhandled(ex);
233234
JNI_setStaticObjectField(
234235
s_Invocation_class, s_Invocation_s_unhandled, NULL);
235-
bool already_hit = Exception_isPGUnhandled(ex);
236236

237237
JNI_exceptionStacktraceAtLevel(ex,
238238
wasException ? DEBUG2 : already_hit ? WARNING : DEBUG1);

0 commit comments

Comments
 (0)