diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-05 10:14:34 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-05 10:14:34 +0000 |
| commit | 27580503640f7987dd56af3698673426edb79e63 (patch) | |
| tree | 5a80515dc3501619f3892e41ae5d2701f30bcdb1 | |
| parent | f0402b90bba7ad658ac2e331b530ca1a4d40e3e6 (diff) | |
| download | pw-darwin-27580503640f7987dd56af3698673426edb79e63.tar.gz pw-darwin-27580503640f7987dd56af3698673426edb79e63.zip | |
Remove dead code
| -rw-r--r-- | pw/psdate.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/pw/psdate.c b/pw/psdate.c index 537861b..8e3a951 100644 --- a/pw/psdate.c +++ b/pw/psdate.c @@ -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); |
