diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-08-13 12:11:33 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-08-13 12:11:33 +0000 |
commit | 5b3c05637d41f25e3288680d5b2628d84b48397c (patch) | |
tree | 26bfa37a9b704ede92d13792ef9e661249502fb5 /coreutils/cal.c | |
parent | 9a9f6777e9c54314ddeb52fe080ba0eb212db951 (diff) | |
download | busybox-w32-5b3c05637d41f25e3288680d5b2628d84b48397c.tar.gz busybox-w32-5b3c05637d41f25e3288680d5b2628d84b48397c.tar.bz2 busybox-w32-5b3c05637d41f25e3288680d5b2628d84b48397c.zip |
Remove unnecessary pointer dereference.
Diffstat (limited to 'coreutils/cal.c')
-rw-r--r-- | coreutils/cal.c | 2 |
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) | |||
324 | do { | 324 | do { |
325 | if ((day = *dp++) != SPACE) { | 325 | if ((day = *dp++) != SPACE) { |
326 | if (julian) { | 326 | if (julian) { |
327 | *++p; | 327 | ++p; |
328 | if (day >= 100) { | 328 | if (day >= 100) { |
329 | *p = '0'; | 329 | *p = '0'; |
330 | p[-1] = (day / 100) + '0'; | 330 | p[-1] = (day / 100) + '0'; |