From c144b1fd70936b7807820faf924adca93a890516 Mon Sep 17 00:00:00 2001 From: Frank Polte Date: Thu, 13 Feb 2020 10:39:41 +0100 Subject: [PATCH] fixes mixed declarations and code ../../csrc/pfcompil.c:1161:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1161 | ThrowCode throwCode; | ^~~~~~~~~ --- csrc/pfcompil.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/csrc/pfcompil.c b/csrc/pfcompil.c index a3f44f3..01574df 100644 --- a/csrc/pfcompil.c +++ b/csrc/pfcompil.c @@ -1156,9 +1156,10 @@ cell_t ffRefill( void ) if( gCurrentTask->td_InputStream == PF_STDIN ) { /* ACCEPT is deferred so we call it through the dictionary. */ + ThrowCode throwCode; PUSH_DATA_STACK( gCurrentTask->td_SourcePtr ); PUSH_DATA_STACK( TIB_SIZE ); - ThrowCode throwCode = pfCatch( gAcceptP_XT ); + throwCode = pfCatch( gAcceptP_XT ); if (throwCode) { Result = throwCode; goto error; -- 2.20.1