Remove unnecessary pointer dereference.
authorManuel Novoa III <mjn3@codepoet.org>
Wed, 13 Aug 2003 12:11:33 +0000 (12:11 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Wed, 13 Aug 2003 12:11:33 +0000 (12:11 -0000)
coreutils/cal.c

index a50f54d..7861562 100644 (file)
@@ -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';