Skip to content

Commit 6924a56

Browse files
committed
Remove unused variable
1 parent d352dca commit 6924a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/streamlines/trk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ def _read_header(fileobj):
559559

560560
# Read the header into a bytearray.
561561
header_buf = bytearray(header_2_dtype.itemsize)
562-
n_read = f.readinto(header_buf)
562+
f.readinto(header_buf)
563563
header_rec = np.frombuffer(buffer=header_buf, dtype=header_2_dtype)
564564
# Check endianness
565565
endianness = native_code

0 commit comments

Comments
 (0)