summaryrefslogtreecommitdiff
path: root/include/tools/diagnose_ex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/diagnose_ex.h')
-rw-r--r--include/tools/diagnose_ex.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/tools/diagnose_ex.h b/include/tools/diagnose_ex.h
index 55cfe16a4f19..12946154d16b 100644
--- a/include/tools/diagnose_ex.h
+++ b/include/tools/diagnose_ex.h
@@ -125,26 +125,6 @@
return; \
}
-/** asserts a given condition (in debug mode), and continues the most-inner
- loop if the condition is not met
-*/
-#define ENSURE_OR_CONTINUE( c, m ) \
- if ( !(c) ) \
- { \
- OSL_ENSURE( false, m ); \
- continue; \
- }
-
-/** asserts a given condition (in debug mode), and continues the most-inner
- loop if the condition is not met
-*/
-#define ENSURE_OR_BREAK( c, m ) \
- if ( !(c) ) \
- { \
- OSL_ENSURE( false, m ); \
- break; \
- }
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */