UTNuclearRoboticsPublic / jog_arm

A real-time robot arm jogger.
45 stars 22 forks source link

fix clang warnings #10

Closed machinekoder closed 6 years ago

machinekoder commented 6 years ago

I got a bunch of warnings from the clang static analyzer, mostly related to implicit type conversions, missing return values, and unused parameters. I think it doesn't hurt to fix them.

AndyZe commented 6 years ago

Thank you!

Personally I'm not a fan of using std::size_t over int while iterating. I think it's less readable but I can understand how it might cause bugs in extreme cases.