Fix compiler warnings
Merge pull request #1095 from DonLakeFlyer/CompilerWarnings

Fix compiler warnings
Merge branch 'master' of github.com:PX4/Firmware into power_enforce
mc_pos_control: compiler warning fix
Merge pull request #1099 from PX4/mpc_warn_fix

mc_pos_control: compiler warning fix
nshterm: Hotfix for retries counter
Merge branch 'master' of github.com:PX4/Firmware into power_enforce
commander: Minor checks / improvements to power enforce patch