It looks like that keyswitch range is always provided by libgig, even when there is no keyswitches in an instrument. You can also see this in the instrument properties in gigedit.
I don't think this is a bug in libgig, as a gig file has values for the keyswitch range even if there is no keyswitch dimension. I committed a fix to linuxsampler for this instead.