Fix warnings in settings.c ( reported by SNC compiler)