]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add Coccinelle patch for replacing tt_assert(0) with tt_abort().
authorAlexander Færøy <ahf@torproject.org>
Mon, 5 Jun 2017 15:19:46 +0000 (15:19 +0000)
committerNick Mathewson <nickm@torproject.org>
Thu, 24 Aug 2017 19:21:07 +0000 (15:21 -0400)
scripts/coccinelle/test_assert_zero.cocci [new file with mode: 0644]

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