Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 994a5ad

Browse files
committed
Remove redundant lines. Fixes tinyobjloader#222
1 parent 0ed3137 commit 994a5ad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tiny_obj_loader.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -859,10 +859,8 @@ static bool tryParseDouble(const char *s, const char *s_end, double *result) {
859859
read++;
860860
end_not_reached = (curr != s_end);
861861
}
862-
}
863862

864-
// We must make sure we actually got something.
865-
if (!leading_decimal_dots) {
863+
// We must make sure we actually got something.
866864
if (read == 0) goto fail;
867865
}
868866

0 commit comments

Comments
 (0)