aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pmcannotate/pmcannotate.c
diff options
context:
space:
mode:
authorHiren Panchasara <hiren@FreeBSD.org>2013-05-06 18:30:49 +0000
committerHiren Panchasara <hiren@FreeBSD.org>2013-05-06 18:30:49 +0000
commit28a83c9fc1209880bb3949006d0a0524fb37116d (patch)
treecdc045f0a92d0342f1000df0041350f931ca1f28 /usr.sbin/pmcannotate/pmcannotate.c
parent9e2b4b0da3465e34696609cbd6fd8ef01c703fcb (diff)
Notes
Diffstat (limited to 'usr.sbin/pmcannotate/pmcannotate.c')
-rw-r--r--usr.sbin/pmcannotate/pmcannotate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/pmcannotate/pmcannotate.c b/usr.sbin/pmcannotate/pmcannotate.c
index 0a9d0d7a0d4e..374290fde22e 100644
--- a/usr.sbin/pmcannotate/pmcannotate.c
+++ b/usr.sbin/pmcannotate/pmcannotate.c
@@ -118,8 +118,6 @@ isasminline(const char *str)
void *ptr;
int nbytes;
- if (isxdigit(str[1]) == 0)
- return (0);
if (sscanf(str, " %p%n", &ptr, &nbytes) != 1)
return (0);
if (str[nbytes] != ':' || isspace(str[nbytes + 1]) == 0)