Skip to content
Commit 25113e2d authored by Tom Tromey's avatar Tom Tromey
Browse files

Remove some unnecessary allocations from cpname_state::parse_number



cpname_state::parse_number allocates nodes for various types and then
only uses one of them.  This patch reduces the number of allocations
by not performing the unnecessary ones.

Approved-By: default avatarJohn Baldwin <jhb@FreeBSD.org>

parent 843d1820
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment