add: if (!str) return 2;
context: GetSpeedForKey(char *defaultName){    char *str;    int i;        str = GetStringForKey(defaultName);    if (strcasecmp(str, "ultraslow")==0)	i = 0;    else if (strcasecmp(str, "slow")==0)	i = 1;    else if (strcasecmp(str, "medium")==0)	i = 2;    else if (strcasecmp(str, "fast")==0)	i = 3;    else if (strcasecmp(str, "ultrafast")==0)	i = 4;    else {	wwarning(_("bad speed value for option %s\n. Using default Medium"),		 defaultName);	i = 2;    }    return i;}