remove redundant condition in memccpy
Commit d9bdfd16 ("fix memccpy to not access buffer past given size") correctly added a check for 'n' nonzero, but made the pre-existing test '*s==c' redundant: n!=0 implies *s==c. Remove the unnecessary check. Reported by Alexey Izbyshev.
Showing
想要评论请 注册 或 登录