Fixed #endif for non-registry builds.

This commit is contained in:
warren%netscape.com 1999-02-26 10:55:07 +00:00
parent 44cae3cd3f
commit 8bbb442e62
2 changed files with 2 additions and 2 deletions

View File

@ -777,12 +777,12 @@ nsresult nsRepository::CLSIDToProgID(nsCID *aClass,
*aProgID = progidString;
res = NS_OK;
#endif /* USE_REGISTRY */
done2:
NR_RegClose(hreg);
done1:
delete[] cidStr;
#endif /* USE_REGISTRY */
PR_LOG(logmodule, PR_LOG_WARNING, ("nsRepository: CLSIDToProgID() %s",
res == NS_OK ? "succeeded" : "FAILED"));
return res;

View File

@ -777,12 +777,12 @@ nsresult nsRepository::CLSIDToProgID(nsCID *aClass,
*aProgID = progidString;
res = NS_OK;
#endif /* USE_REGISTRY */
done2:
NR_RegClose(hreg);
done1:
delete[] cidStr;
#endif /* USE_REGISTRY */
PR_LOG(logmodule, PR_LOG_WARNING, ("nsRepository: CLSIDToProgID() %s",
res == NS_OK ? "succeeded" : "FAILED"));
return res;