From: Christian Brauner Date: Tue, 23 Mar 2021 10:34:57 +0000 (+0100) Subject: strchrnul: fix copy-paste braino X-Git-Tag: lxc-5.0.0~250^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10bf1adb4315d8fbc38656fbb734e27bac20f668;p=thirdparty%2Flxc.git strchrnul: fix copy-paste braino Signed-off-by: Christian Brauner --- diff --git a/src/include/strchrnul.c b/src/include/strchrnul.c index dee5d6967..6dc7db918 100644 --- a/src/include/strchrnul.c +++ b/src/include/strchrnul.c @@ -33,7 +33,6 @@ char *strchrnul(const char *s, int c_in) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wcast-align" - for (rta = __NLMSG_RTA(h, sizeof(*ifi)); __NLMSG_RTAOK(rta, h); c = (unsigned char)c_in; /* Handle the first few characters by reading one character at a time.