Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusmue committed Jan 21, 2020
1 parent 2b6eeef commit 59c36a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hw/avatar/configurable_machine.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ static inline void set_feature(CPUARMState *env, int feature)
env->features |= 1ULL << feature;
}

// For now, this function is unused so let's prevent the compiler from failing.
static inline void unset_feature(CPUARMState *env, int feature) __attribute__ ((unused));
static inline void unset_feature(CPUARMState *env, int feature)
{
env->features &= ~(1ULL << feature);
Expand Down

0 comments on commit 59c36a3

Please sign in to comment.