No need for an error message; GenerateBaseOffsetFunction() will ahve complained already. But please add a comment stating that GenerateBaseOffsetFunction() has printed an error already.