Skip to content

STYLE: Add the missing newline at end of nifti1_tool.h - #104

Open
hjmjohnson wants to merge 1 commit into
masterfrom
pr/fix-newline-eof
Open

hjmjohnson wants to merge 1 commit into
masterfrom
pr/fix-newline-eof

Conversation

@hjmjohnson

Copy link
Copy Markdown
Member

Re-submission of #35, reverted from master on 2026-09-24 so it can be
reviewed before merging. Content is unchanged from the original.

Base: master. Independent: nothing has to land before it.

Commits
  • STYLE: Add the missing newline at end of nifti1_tool.h

Ordering for all the re-submitted work is tracked in #84.

The only file in the tree without a trailing newline, and the only
-Wnewline-eof warning.  C11 5.1.1.2p1 requires a non-empty source file to
end in a newline not immediately preceded by a backslash, so this is
undefined behaviour rather than only a diff annoyance.

(cherry picked from commit 91d1bb9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants