From 5b3c05637d41f25e3288680d5b2628d84b48397c Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 13 Aug 2003 12:11:33 +0000 Subject: Remove unnecessary pointer dereference. --- coreutils/cal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- cgit v1.2.3