adafruit / Adafruit-PCD8544-Nokia-5110-LCD-library

Arduino driver for PC8544, most commonly found in small Nokia 5110's
http://ladyada.net/products/nokia5110/
Other
396 stars 226 forks source link

Fix -Wunused-parameter warnings #57

Closed bxparks closed 3 years ago

bxparks commented 3 years ago

Fixes the following compiler warnings from Arduino IDE or Arduino CLI with warnings enabled. No function change:

/home/brian/src/arduino/libraries/Adafruit-PCD8544-Nokia-5110-LCD-library/Adafruit_PCD8544.cpp:123:13: warning: unused parameter 'xmin' [-Wunused-parameter]
 static void updateBoundingBox(uint8_t xmin, uint8_t ymin, uint8_t xmax,
             ^
/home/brian/src/arduino/libraries/Adafruit-PCD8544-Nokia-5110-LCD-library/Adafruit_PCD8544.cpp:123:13: warning: unused parameter 'ymin' [-Wunused-parameter]
/home/brian/src/arduino/libraries/Adafruit-PCD8544-Nokia-5110-LCD-library/Adafruit_PCD8544.cpp:123:13: warning: unused parameter 'xmax' [-Wunused-parameter]
/home/brian/src/arduino/libraries/Adafruit-PCD8544-Nokia-5110-LCD-library/Adafruit_PCD8544.cpp:123:13: warning: unused parameter 'ymax' [-Wunused-parameter]