Skip to content

Commit

Permalink
fix travis and reduce warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Feb 16, 2017
1 parent 15dc540 commit 1ac5dc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions quantum/audio/voices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions quantum/process_keycode/process_unicode_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion util/travis_compiled_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rev=$(git rev-parse --short HEAD)
git config --global user.name "Travis CI"
git config --global user.email "[email protected]"

if [[ "$TRAVIS_BRANCH" == "master" ]] && [[ "$TRAVIS_PULL_REQUEST" == "false"]] ; then
if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]] ; then

increment_version ()
{
Expand Down

0 comments on commit 1ac5dc9

Please sign in to comment.