extras; samples: Fixed some warnings