Skip to content

Suppress warnings#4691

Merged
thinkyhead merged 1 commit intoRCBugFixfrom
unknown repository
Aug 25, 2016
Merged

Suppress warnings#4691
thinkyhead merged 1 commit intoRCBugFixfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Aug 23, 2016

Suppress warnings

It suppresses compilation warnings.

warning messages

\AppData\Local\Temp\build6674025c445f92d0b07185e4e4080804.tmp\sketch\temperature.cpp: In static member function 'static void Temperature::checkExtruderAutoFans()':

\AppData\Local\Temp\build6674025c445f92d0b07185e4e4080804.tmp\sketch\temperature.cpp:482:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

     for (int8_t f = 0; f < COUNT(fanPin); f++) {

                          ^

\AppData\Local\Temp\build6674025c445f92d0b07185e4e4080804.tmp\sketch\Marlin_main.cpp: In function 'idle':

\AppData\Local\Temp\build6674025c445f92d0b07185e4e4080804.tmp\sketch\Marlin_main.cpp:8492:11: warning: 'max_temp' may be used uninitialized in this function [-Wmaybe-uninitialized]

           MAX3(max_temp, thermalManager.degTargetBed(), thermalManager.degBed())

           ^

\AppData\Local\Temp\build6674025c445f92d0b07185e4e4080804.tmp\sketch\Marlin_main.cpp:8490:13: note: 'max_temp' was declared here

       float max_temp =

             ^

@ghost ghost closed this Aug 23, 2016
@ghost ghost reopened this Aug 23, 2016
@thinkyhead thinkyhead merged commit 2c3de5e into MarlinFirmware:RCBugFix Aug 25, 2016
@ghost ghost deleted the Suppress-warnings branch August 26, 2016 18:04
@thinkyhead thinkyhead mentioned this pull request Oct 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant