Fix coverity warning in RangeTable
Merge pull request #1098 from TheMarex/rangetable-covertity

Fix coverity warning in RangeTable