aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-08-13 12:11:33 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-08-13 12:11:33 +0000
commit5b3c05637d41f25e3288680d5b2628d84b48397c (patch)
tree26bfa37a9b704ede92d13792ef9e661249502fb5 /coreutils
parent9a9f6777e9c54314ddeb52fe080ba0eb212db951 (diff)
downloadbusybox-5b3c05637d41f25e3288680d5b2628d84b48397c.tar.gz
Remove unnecessary pointer dereference.
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c
index a50f54db9..786156253 100644
--- a/coreutils/cal.c
+++ b/coreutils/cal.c
@@ -324,7 +324,7 @@ static char *build_row(char *p, int *dp)
do {
if ((day = *dp++) != SPACE) {
if (julian) {
- *++p;
+ ++p;
if (day >= 100) {
*p = '0';
p[-1] = (day / 100) + '0';