ivanseidel / ArduinoThread

⏳ A simple way to run Threads on Arduino
MIT License
955 stars 196 forks source link

Warning when compiling ThreadController.cpp #15

Closed LBertrandDC closed 7 years ago

LBertrandDC commented 7 years ago

Hello, This warning doesn't seem to have any effect but... ../ThreadController.cpp: In member function 'void ThreadController::remove(int)': ../ThreadController.cpp:68:7: warning: unused variable 'found' [-Wunused-variable] bool found = false; The unused variable should be cleaned up by removing the declaration void ThreadController::remove(int id){ // Find Threads with the id, and removes bool found = false; // <--- this line Thanks

ivanseidel commented 7 years ago

Can you clean it up and make a pull request? Closing for now.