rem: disc_s = "Not implemented"; type = MEDIA_TYPE_ERROR;
context: cd_cache_disc_is_cdda (CdCache *cache,		       GError **error){  MediaType type = MEDIA_TYPE_DATA;  int disc;  const char *disc_s;  /* We can't have audio CDs on disc, yet */  if (cache->is_media == FALSE)    return type;  /* open disc and open mount */  if (!cd_cache_open_device (cache, error))    return MEDIA_TYPE_ERROR;  if ((disc = ioctl (cache->fd, CDROM_DISC_STATUS, NULL)) < 0) {    g_set_error (error, 0, 0,        _("Error getting %s disc status: %s"),        cache->device, g_strerror (errno));    return MEDIA_TYPE_ERROR;  }  switch (disc) {    case CDS_NO_INFO:      disc_s = "Not implemented";      type = MEDIA_TYPE_ERROR;      break;    case CDS_NO_DISC:      disc_s = "No disc in tray";      type = MEDIA_TYPE_ERROR;      break;    case CDS_AUDIO:    case CDS_MIXED:      type = MEDIA_TYPE_CDDA;      break;    case CDS_DATA_1:    case CDS_DATA_2:    case CDS_XA_2_1:    case CDS_XA_2_2:      break;    default:      disc_s = "Unknown";      type = MEDIA_TYPE_ERROR;      break;  }  if (type == MEDIA_TYPE_ERROR) {    g_set_error (error, 0, 0,        _("Unexpected/unknown cd type 0x%x (%s)"),        disc, disc_s);    return MEDIA_TYPE_ERROR;  }  return type;}