diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-06-05 15:19:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-24 15:21:07 -0400 |
commit | 3fd68b249b1472097c3d1466d28b926dbd380657 (patch) | |
tree | d36fad64c3d17a9d20e95b66d6f18a007f694530 /scripts | |
parent | 25eaf77033cd4cc6a5241554be8951a022dd54bd (diff) | |
download | tor-3fd68b249b1472097c3d1466d28b926dbd380657.tar.gz tor-3fd68b249b1472097c3d1466d28b926dbd380657.zip |
Add Coccinelle patch for replacing tt_assert(0) with tt_abort().
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/coccinelle/test_assert_zero.cocci | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/coccinelle/test_assert_zero.cocci b/scripts/coccinelle/test_assert_zero.cocci new file mode 100644 index 0000000000..09feaa5fb4 --- /dev/null +++ b/scripts/coccinelle/test_assert_zero.cocci @@ -0,0 +1,5 @@ +@@ +@@ + +- tt_assert(0) ++ tt_abort() |