mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 808229 - remove unused NS_ENSURE_ macro and associated success error code r=surkov
This commit is contained in:
parent
721eb8a06b
commit
e9211429c0
@ -20,15 +20,4 @@
|
||||
return NS_OK; \
|
||||
} else
|
||||
|
||||
#define NS_ENSURE_A11Y_SUCCESS(res, ret) \
|
||||
PR_BEGIN_MACRO \
|
||||
nsresult __rv = res; /* Don't evaluate |res| more than once */ \
|
||||
if (NS_FAILED(__rv)) { \
|
||||
NS_ENSURE_SUCCESS_BODY(res, ret) \
|
||||
return ret; \
|
||||
} \
|
||||
if (__rv == NS_OK_DEFUNCT_OBJECT) \
|
||||
return ret; \
|
||||
PR_END_MACRO
|
||||
|
||||
#endif
|
||||
|
@ -894,7 +894,6 @@
|
||||
|
||||
/* see Accessible::GetAttrValue */
|
||||
ERROR(NS_OK_NO_ARIA_VALUE, SUCCESS(33)),
|
||||
ERROR(NS_OK_DEFUNCT_OBJECT, SUCCESS(34)),
|
||||
/* see nsTextEquivUtils */
|
||||
ERROR(NS_OK_NO_NAME_CLAUSE_HANDLED, SUCCESS(35))
|
||||
ERROR(NS_OK_NO_NAME_CLAUSE_HANDLED, SUCCESS(34))
|
||||
#undef MODULE
|
||||
|
Loading…
Reference in New Issue
Block a user