Merge pull request #71 from frankpolte/master
authorPhil Burk <philburk@mobileer.com>
Thu, 13 Feb 2020 14:56:14 +0000 (06:56 -0800)
committerGitHub <noreply@github.com>
Thu, 13 Feb 2020 14:56:14 +0000 (06:56 -0800)
fixes mixed declarations and code warning

csrc/pfcompil.c

index a3f44f3..01574df 100644 (file)
@@ -1156,9 +1156,10 @@ cell_t ffRefill( void )
     if( gCurrentTask->td_InputStream == PF_STDIN )
     {
     /* ACCEPT is deferred so we call it through the dictionary. */
     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 );
         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;
         if (throwCode) {
             Result = throwCode;
             goto error;