Skip to content
Snippets Groups Projects
Commit 62a34a04 authored by Joe Hershberger's avatar Joe Hershberger Committed by Tom Rini
Browse files

tools/env: Remove unneeded complexity


The length included the name length, and then it was subtracted back
out on each use.  Now we don't include it in the first place.  Also
realloc as we process arguments and eliminate memset.  Use memcpy
instead of manually copying each byte.

Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 497f2053
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment