diff options
author | Jack Humbert <[email protected]> | 2017-02-16 11:37:46 -0500 |
---|---|---|
committer | Jack Humbert <[email protected]> | 2017-02-16 11:37:46 -0500 |
commit | 1ac5dc9e524444ef98cfab1d9822151a6bfb9621 (patch) | |
tree | fab688c920ee5c04824c7270c0299ed94d6f85fd /quantum | |
parent | 15dc540cac293b6f2e1433b701408c89e72c52ec (diff) | |
download | qmk_firmware-1ac5dc9e524444ef98cfab1d9822151a6bfb9621.tar.gz qmk_firmware-1ac5dc9e524444ef98cfab1d9822151a6bfb9621.zip |
fix travis and reduce warnings0.5.28
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/audio/voices.c | 1 | ||||
-rw-r--r-- | quantum/process_keycode/process_unicode_common.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/quantum/audio/voices.c b/quantum/audio/voices.c index 8326e91eaa..c2edb75f01 100644 --- a/quantum/audio/voices.c +++ b/quantum/audio/voices.c @@ -24,6 +24,7 @@ void voice_deiterate() { float voice_envelope(float frequency) { // envelope_index ranges from 0 to 0xFFFF, which is preserved at 880.0 Hz + __attribute__ ((unused)) uint16_t compensated_index = (uint16_t)((float)envelope_index * (880.0 / frequency)); switch (voice) { diff --git a/quantum/process_keycode/process_unicode_common.h b/quantum/process_keycode/process_unicode_common.h index 1f25eae7dd..864693cdd0 100644 --- a/quantum/process_keycode/process_unicode_common.h +++ b/quantum/process_keycode/process_unicode_common.h @@ -7,6 +7,7 @@ #define UNICODE_TYPE_DELAY 10 #endif +__attribute__ ((unused)) static uint8_t input_mode; void set_unicode_input_mode(uint8_t os_target); |