| commit | 058d0bf5f09a4488b6d7f3d3aa5fa0958e886c3b | [log] [tgz] |
|---|---|---|
| author | Mike Frysinger <vapier@gentoo.org> | Wed Dec 06 06:36:15 2023 -0700 |
| committer | Mike Frysinger <vapier@gentoo.org> | Thu Dec 07 21:41:27 2023 -0700 |
| tree | 2598979d6e4f681429b54cd6f3a31f4d84d112bd | |
| parent | ad4106f8dd948bf04cb1c427124c711d3eb72766 [diff] |
sim: bfin: gui: fix -Wunused-but-set-variable warnings Rework the code to use static inline functions when it's disabled rather than macros so the compiler knows the various function args are always used. The ifdef macros are a bit ugly, but get the job done without duplicating the function prototypes.