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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user