Skip to content

Commit 7bd8914

Browse files
committed
should verify checksum
Signed-off-by: Guillaume W. Bres <[email protected]>
1 parent 4232078 commit 7bd8914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cggtts/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ impl CGGTTS {
505505

506506
//let mut cksum: u8 = crc::calc_crc(lines.next().ok_or(Error::CrcMissing)?)?;
507507
let mut cksum = 0_u8;
508-
let mut header_ck = 0_u8;
508+
let header_ck;
509509

510510
let mut release_date = Epoch::default();
511511
let mut nb_channels: u16 = 0;

0 commit comments

Comments
 (0)