| 491 | } |
| 492 | |
| 493 | void LASreaderASC::close(BOOL close_stream) |
| 494 | { |
| 495 | if (overflow_I32_x) |
| 496 | { |
| 497 | LASMessage(LAS_WARNING, "total of %lld integer overflows in x", overflow_I32_x); |
| 498 | overflow_I32_x = 0; |
| 499 | } |
| 500 | if (overflow_I32_y) |
| 501 | { |
| 502 | LASMessage(LAS_WARNING, "total of %lld integer overflows in y", overflow_I32_y); |
| 503 | overflow_I32_y = 0; |
| 504 | } |
| 505 | if (overflow_I32_z) |
| 506 | { |
| 507 | LASMessage(LAS_WARNING, "total of %lld integer overflows in z", overflow_I32_z); |
| 508 | overflow_I32_z = 0; |
| 509 | } |
| 510 | if (file) |
| 511 | { |
| 512 | if (piped) while (fgets(line, line_size, file)); |
| 513 | fclose(file); |
| 514 | file = 0; |
| 515 | } |
| 516 | } |
| 517 | |
| 518 | BOOL LASreaderASC::reopen(const CHAR* file_name) |
| 519 | { |
nothing calls this directly
no test coverage detected