Skip to content

Commit

Permalink
Merge pull request #19 from Kagamiin/fix/compiler-warnings
Browse files Browse the repository at this point in the history
Suppress compiler warnings from extraneous variables when compiling with inline ASM
  • Loading branch information
Kagamiin authored Mar 22, 2024
2 parents 9bd9ec2 + a62537d commit e8eaacf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions esfm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1741,6 +1741,10 @@ ESFM_slot_generate_emu(esfm_slot *slot)
}

/* ------------------------------------------------------------------------- */
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wunused-variable"
#pragma clang diagnostic ignored "-Wunknown-pragmas"
static void
ESFM_process_feedback(esfm_chip *chip)
{
Expand Down

0 comments on commit e8eaacf

Please sign in to comment.