Skip to content

Remove unreachable code line; fixes #665#670

Merged
liuzicheng1987 merged 1 commit into
mainfrom
f/fix_msvc_warning
May 23, 2026
Merged

Remove unreachable code line; fixes #665#670
liuzicheng1987 merged 1 commit into
mainfrom
f/fix_msvc_warning

Conversation

@liuzicheng1987
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request performs minor cleanup in include/rfl/generic/Writer.hpp, including the removal of trailing whitespace and an unnecessary return statement following a static_assert. Feedback suggests further simplifying the class definition by removing a redundant private: access specifier and extra whitespace.

Comment on lines 150 to 152
}

private:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The private: access specifier is redundant here as the preceding section (starting at line 136) is already private. You can remove it and the extra whitespace to simplify the class definition.

  }

@liuzicheng1987 liuzicheng1987 merged commit aad19a9 into main May 23, 2026
362 checks passed
@liuzicheng1987 liuzicheng1987 deleted the f/fix_msvc_warning branch May 23, 2026 22:31
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.

1 participant