Skip to content

Various warning fixes#51

Merged
jbkempf merged 26 commits into
videolan:masterfrom
ePirat:epirat-fix-warnings
Oct 22, 2025
Merged

Various warning fixes#51
jbkempf merged 26 commits into
videolan:masterfrom
ePirat:epirat-fix-warnings

Conversation

@ePirat

@ePirat ePirat commented Oct 17, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

ePirat added 26 commits October 17, 2025 02:12
It only makes sense in a header file.
When returning by value this has no effect.
It doesn't make sense to request a channel for a negative index.
Fixes the comparison of integers of different signs warning, as
we already checked index to be bigger than -1.
Fixes invalid UTF-8 in comment warning.
Fixes comparison of integers of different signs warning.
These can never be negative and fixes a mixed-sign comparison later.
The added parameter is actually unused so we can cleanly override the
base class Configure.

Also mark Reset and Refresh as override.
We inherit the base class Configure method, however calling that one
would result in our class to not actually be configured properly.

We can not just override the base Configure as we require different
arguments, so instead mark it as private so it can not be called.
We inherit the base class Configure method, however calling that one
would result in our class to not actually be configured properly.

We can not just override the base Configure as we require different
arguments, so instead mark it as private so it can not be called.
We inherit the base class Configure method, however calling that one
would result in our class to not actually be configured properly.

We can not just override the base Configure as we require different
arguments, so instead mark it as private so it can not be called.
We inherit the base class Configure method, however calling that one
would result in our class to not actually be configured properly.

We can not just override the base Configure as we require different
arguments, so instead mark it as private so it can not be called.
We inherit the base class Configure method, however calling that one
would result in our class to not actually be configured properly.

We can not just override the base Configure as we require different
arguments, so instead mark it as private so it can not be called.
We inherit the base class Configure method, however calling that one
would result in our class to not actually be configured properly.

We can not just override the base Configure as we require different
arguments, so instead mark it as private so it can not be called.
We inherit the base class Configure method, however calling that one
would result in our class to not actually be configured properly.

We can not just override the base Configure as we require different
arguments, so instead mark it as private so it can not be called.
We inherit the base class Configure method, however calling that one
would result in our class to not actually be configured properly.

We can not just override the base Configure as we require different
arguments, so instead mark it as private so it can not be called.
We override it as private method so that API users can't accidentally
use it and end up with a not properly configure object.
Fixes invalid UTF-8 in comment warning.
Fixes suggest braces around initialization of subobject warning.
These were only ever written but never read
@ePirat ePirat added this to the v0.4.0 Release milestone Oct 17, 2025
@jbkempf jbkempf merged commit 4f9a17d into videolan:master Oct 22, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants