diff options
author | harti <harti@FreeBSD.org> | 2005-02-10 14:52:14 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-02-10 14:52:14 +0000 |
commit | f247b32ef036330de4136e903ff8c776fd139bba (patch) | |
tree | ab169eafd8a99f56e0f70ef9e30a70816aaf300d /usr.bin | |
parent | 9c56ede2b6e0a88b71bf3805c99bcf68500f114d (diff) | |
download | FreeBSD-src-f247b32ef036330de4136e903ff8c776fd139bba.zip FreeBSD-src-f247b32ef036330de4136e903ff8c776fd139bba.tar.gz |
Mark the modification of the input string (which should really be const)
with a comment.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/var.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index f79f53b..13d9f95 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -987,7 +987,7 @@ Var_Parse(char *str, GNode *ctxt, Boolean err, size_t *lengthPtr, } haveModifier = (*tstr == ':'); - *tstr = '\0'; + *tstr = '\0'; /* modify input string */ Buf_AddByte(buf, (Byte)'\0'); str = Buf_GetAll(buf, (size_t *)NULL); |