diff options
author | Jim Meyering <meyering@fb.com> | 2014-09-30 18:01:45 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2014-11-30 18:59:34 -0800 |
commit | ba5e0dbcc9c0f8252006191f81b0b0f3ac4a4cf5 (patch) | |
tree | 3a38c2191db2993190ff03f75a56acd2263a5ec3 /testsuite | |
parent | 10a322910c76f604c7d7467132871b771e0874d9 (diff) | |
download | sed-ba5e0dbcc9c0f8252006191f81b0b0f3ac4a4cf5.tar.gz |
maint: enable sc_cast_of_argument_to_free syntax check
* cfg.mk (local-checks-to-skip): Remove its exemption.
* testsuite/tst-rxspencer.c (mb_test): Remove a cast.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tst-rxspencer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tst-rxspencer.c b/testsuite/tst-rxspencer.c index c19379d..6b050f3 100644 --- a/testsuite/tst-rxspencer.c +++ b/testsuite/tst-rxspencer.c @@ -338,7 +338,7 @@ mb_test (const char *pattern, int cflags, const char *string, int eflags, free (matches_mb); free (expect_mb); if (string_mb != string) - free ((char *) string_mb); + free (string_mb); free (pattern_mb); return ret; } |