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.

This commit is contained in:
jband%netscape.com 2000-04-18 21:44:38 +00:00
Родитель 610a3c53e8
Коммит bca6601e81
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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;

Просмотреть файл

@ -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;