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 a50f54db9bfef8ce9a5641d3a70f047dc6cd26e8..786156253a306a6397a271a4cd8fa0ddbc3aa9c3 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';