Fix `assigned but unused variable` warnings
Remove unused constant KEY_CTRL_C