]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Remove dead code
authorBaptiste Daroussin <bapt@FreeBSD.org>
Sun, 5 Jul 2015 10:14:34 +0000 (10:14 +0000)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Sun, 5 Jul 2015 10:14:34 +0000 (10:14 +0000)
pw/psdate.c

index 537861bd9770c35cbeaaf7f7b9bb2ed4915a0e15..8e3a951ef85b14cc3e6a9883055046fb3c1dcad7 100644 (file)
@@ -39,21 +39,6 @@ static const char rcsid[] =
 #include "psdate.h"
 
 
 #include "psdate.h"
 
 
-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)
 {
 static int
 numerics(char const * str)
 {