[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 3fd68b249b1472097c3d1466d28b926dbd380657
Author: Alexander Færøy <ahf@xxxxxxxxxxxxxx>
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()



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits