Fix unsued variable in scalar arecrosscompatible