return 1;
return NS_OK;
static nsresult _convertRes(int res)//---------------------------------------------------------------------------{  switch (res) {    case PREF_OUT_OF_MEMORY:      return NS_ERROR_OUT_OF_MEMORY;    case PREF_NOT_INITIALIZED:      return NS_ERROR_NOT_INITIALIZED;    case PREF_BAD_PARAMETER:      return NS_ERROR_INVALID_ARG;    case PREF_TYPE_CHANGE_ERR:    case PREF_ERROR:    case PREF_BAD_LOCKFILE:	case PREF_DEFAULT_VALUE_NOT_INITIALIZED:      return NS_ERROR_UNEXPECTED;    case PREF_VALUECHANGED:      return 1;  }  NS_ASSERTION((res >= PREF_DEFAULT_VALUE_NOT_INITIALIZED) && (res <= PREF_PROFILE_UPGRADE), "you added a new error code to prefapi.h and didn't update _convertRes");  return NS_OK;}