From 4b5e4f989a02bfad537289580218326b228fda5c Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 29 Jan 2018 17:28:44 +0100 Subject: [PATCH] std config: Remove misspelled function "strbprk" (#1065) Remove misspelled function configuration "strbprk" (also from the tests). The correct function "strpbrk" is already configured and tested. --- cfg/std.cfg | 20 ++------------------ test/cfg/std.c | 8 -------- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/cfg/std.cfg b/cfg/std.cfg index f01af34e0..3d4331fda 100644 --- a/cfg/std.cfg +++ b/cfg/std.cfg @@ -4570,7 +4570,8 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun 0: - + + @@ -4922,23 +4923,6 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun 0:255 - - - - - - - false - - - - - - - - - - diff --git a/test/cfg/std.c b/test/cfg/std.c index 7673b3ace..56e4f4027 100644 --- a/test/cfg/std.c +++ b/test/cfg/std.c @@ -3180,14 +3180,6 @@ void uninivar_strrchr(void) (void)strrchr(str,c); } -void uninivar_strbprk(void) -{ - char *cs; - char *ct; - // cppcheck-suppress uninitvar - (void)strbprk(cs,ct); -} - void uninivar_wcsrchr(void) { wchar_t* ws;