sync w evaleev/BTAS: eliminates warnings with -Wall