Skip to content

Commit f792a5a

Browse files
committed
shims: define TRASHIT only on debug builds
1 parent e19af12 commit f792a5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/shims/android_stubs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@
2727
(var) = (tvar))
2828
#endif /* TAILQ_FOREACH_SAFE */
2929

30+
#if DISPATCH_DEBUG
3031
#ifndef TRASHIT
3132
# define TRASHIT(x) do {(x) = (void *)-1;} while (0)
3233
#endif /* TRASHIT */
34+
#endif
3335

3436
#endif /* __DISPATCH__ANDROID__STUBS__INTERNAL */

0 commit comments

Comments
 (0)