Date: Sun, 5 Jul 2015 10:14:35 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r285158 - head/usr.sbin/pw Message-ID: <201507051014.t65AEZcs018974@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sun Jul 5 10:14:34 2015 New Revision: 285158 URL: https://svnweb.freebsd.org/changeset/base/285158 Log: Remove dead code Modified: head/usr.sbin/pw/psdate.c Modified: head/usr.sbin/pw/psdate.c ============================================================================== --- head/usr.sbin/pw/psdate.c Sun Jul 5 10:11:35 2015 (r285157) +++ head/usr.sbin/pw/psdate.c Sun Jul 5 10:14:34 2015 (r285158) @@ -40,21 +40,6 @@ static const char rcsid[] = static int -a2i(char const ** str) -{ - int i = 0; - char const *s = *str; - - if (isdigit((unsigned char)*s)) { - i = atoi(s); - while (isdigit((unsigned char)*s)) - ++s; - *str = s; - } - return i; -} - -static int numerics(char const * str) { int rc = isdigit((unsigned char)*str);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507051014.t65AEZcs018974>