nsresult res = NS_OK;;
if (aCharset == NULL) return NS_ERROR_NULL_POINTER; if (aResult == NULL) return NS_ERROR_NULL_POINTER; *aResult = NULL;  nsresult res = NS_OK;
NS_IMETHODIMP nsCharsetConverterManager::GetCharsetTitle(nsString * aCharset,                                                          nsString ** aResult){  nsresult res = NS_OK;;  nsAutoString prop(".title");  if (mTitleBundle == NULL) {    res = LoadExtensibleBundle(TITLE_BUNDLE_REGISTRY_KEY, &mTitleBundle);    if (NS_FAILED(res)) return res;  }  res = GetBundleValue(mTitleBundle, aCharset, &prop, aResult);  return res;}