rem: if (*id)
add: if (id && *id)
context: soap_lookup_type(struct soap *soap, const char *id){ register struct soap_ilist *ip;  if (*id)  { ip = soap_lookup(soap, id);    if (ip)    { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Lookup id='%s' type=%d\n", id, ip->type));      return ip->type;    }  }  DBGLOG(TEST, SOAP_MESSAGE(fdebug, "lookup type id='%s' NOT FOUND! Need to get it from xsi:type\n", id));  return 0;}