Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some cppcheck/gcc cleanups #270

Merged
merged 9 commits into from
Mar 2, 2024
Merged

some cppcheck/gcc cleanups #270

merged 9 commits into from
Mar 2, 2024

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Feb 24, 2024

No description provided.

Copy link
Contributor

@robUx4 robUx4 left a comment

Choose a reason for hiding this comment

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

Some good stuff. Thanks.

src/EbmlMaster.cpp Show resolved Hide resolved
src/EbmlMaster.cpp Outdated Show resolved Hide resolved
src/EbmlElement.cpp Outdated Show resolved Hide resolved
It's otherwise an implicit conversion.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
A reference is good enough. It's read only anyway.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
the test change uses auto to mandate a semicolon.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Found with -Wredundant-tags

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Found with warning C4267

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Just specify the return type.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Copy link
Contributor

@robUx4 robUx4 left a comment

Choose a reason for hiding this comment

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

LGTM

src/EbmlMaster.cpp Show resolved Hide resolved
@mbunkus mbunkus merged commit 2eaeb0a into Matroska-Org:master Mar 2, 2024
17 checks passed
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