From: Manuel Novoa III Date: Wed, 13 Aug 2003 12:11:33 +0000 (-0000) Subject: Remove unnecessary pointer dereference. X-Git-Tag: 1_00_pre3~76 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5b3c05637d41f25e3288680d5b2628d84b48397c;p=oweals%2Fbusybox.git Remove unnecessary pointer dereference. --- 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';