add an assert for a whacky case that is not supposed to happen but biting me a while back when some other code was broken. This has been kicking around my tree for a while.

git-svn-id: svn://10.0.0.236/trunk@66315 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jband%netscape.com
2000-04-18 21:44:38 +00:00
parent bdd31d3cc5
commit 5960528106
2 changed files with 2 additions and 0 deletions

View File

@@ -712,6 +712,7 @@ NS_IMETHODIMP nsRegistry::GetStringUTF8( nsRegistryKey baseKey, const char *path
{
// Convert status.
rv = regerr2nsresult( err );
NS_ASSERTION(NS_FAILED(rv), "returning success code on failure");
}
return rv;