Skip to content

Commit 1189f4f

Browse files
committed
Remove ineffective code
1 parent 570268d commit 1189f4f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ext/bcmath/libbcmath/src/str2num.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ bool bc_str2num(bc_num *num, const char *str, const char *end, size_t scale, boo
152152
/* Exclude trailing zeros. */
153153
fractional_end = bc_skip_zero_reverse(fractional_end, fractional_ptr);
154154

155-
/* Move the pointer to the beginning of the fraction. */
156-
fractional_ptr = decimal_point + 1;
157-
158155
/* Calculate the length of the fraction excluding trailing zero. */
159156
str_scale = fractional_end - fractional_ptr;
160157

0 commit comments

Comments
 (0)