Fix unused variable in scalar arecrosscompatible