nsIInputStream *in = nsnull; nsresult rv = GetInputStream(aURLSpec, nsnull, in);
nsStringBundle::InitSyncStream(const char* aURLSpec){   nsIInputStream *in = nsnull;  nsresult rv = GetInputStream(aURLSpec, nsnull, in);     if (!in) {#ifdef NS_DEBUG    if ( NS_OK == rv)      printf("OpenBlockingStream returned success value, but pointer is NULL\n");#endif    rv = NS_ERROR_UNEXPECTED;    return rv;  }  rv = nsComponentManager::CreateInstance(kPersistentPropertiesCID, NULL,                                          NS_GET_IID(nsIPersistentProperties),                                           (void**) &mProps);  if (NS_FAILED(rv)) {#ifdef NS_DEBUG    printf("create nsIPersistentProperties failed\n");#endif    return rv;  }  rv = mProps->Load(in);  NS_RELEASE(in);  return rv;}