mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Fixed #endif for non-registry builds.
This commit is contained in:
parent
44cae3cd3f
commit
8bbb442e62
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user