summaryrefslogtreecommitdiff
path: root/.x-sc_cast_of_x_alloc_return_value
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-12-04 23:31:34 +0100
committerJim Meyering <meyering@redhat.com>2009-12-04 23:31:34 +0100
commitacd6c7be4dab1cc5d4012f1074691999d4fd3083 (patch)
tree60a74009c5e86c8b8de2d8b222d3cae9d0130fe6 /.x-sc_cast_of_x_alloc_return_value
parentdc57dad0fd9ccc43e65491e7416652d1437dff30 (diff)
downloadgrep-acd6c7be4dab1cc5d4012f1074691999d4fd3083.tar.gz
maint: enable cast_of_x_alloc_return_value check
* cfg.mk (local-checks-to-skip): Enable sc_cast_of_x_alloc_return_value. * .x-sc_cast_of_x_alloc_return_value: * src/dfa.c (CALLOC, MALLOC, REALLOC): Remove casts. * src/dosbuf.c (undossify_input): Likewise. * src/grep.c (print_line_middle, prepend_default_options): Likewise.
Diffstat (limited to '.x-sc_cast_of_x_alloc_return_value')
-rw-r--r--.x-sc_cast_of_x_alloc_return_value1
1 files changed, 1 insertions, 0 deletions
diff --git a/.x-sc_cast_of_x_alloc_return_value b/.x-sc_cast_of_x_alloc_return_value
new file mode 100644
index 00000000..748e1b0e
--- /dev/null
+++ b/.x-sc_cast_of_x_alloc_return_value
@@ -0,0 +1 @@
+lib/regex.c