Skip to content

Commit 6f38175

Browse files
committed
Remove an unneeded variable increment.
Found using Clang's static analyzer.
1 parent 7a4cd7e commit 6f38175

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎Objects/floatobject.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2478,7 +2478,6 @@ _PyFloat_Pack8(double x, unsigned char *p, int le)
24782478

24792479
/* Eighth byte */
24802480
*p = flo & 0xFF;
2481-
p += incr;
24822481

24832482
/* Done */
24842483
return 0;

0 commit comments

Comments
 (0)