[tor-commits] [tor/master] Add Coccinelle patch for replacing tt_assert(0) with tt_abort().

nickm at torproject.org nickm at torproject.org
Thu Aug 24 20:11:49 UTC 2017


commit 3fd68b249b1472097c3d1466d28b926dbd380657
Author: Alexander Færøy <ahf at torproject.org>
Date:   Mon Jun 5 15:19:46 2017 +0000

    Add Coccinelle patch for replacing tt_assert(0) with tt_abort().
---
 scripts/coccinelle/test_assert_zero.cocci | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/coccinelle/test_assert_zero.cocci b/scripts/coccinelle/test_assert_zero.cocci
new file mode 100644
index 000000000..09feaa5fb
--- /dev/null
+++ b/scripts/coccinelle/test_assert_zero.cocci
@@ -0,0 +1,5 @@
+@@
+@@
+
+- tt_assert(0)
++ tt_abort()





More information about the tor-commits mailing list