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

Redundant code flagged by static analysis #1

Open
a-wilhelm opened this issue Sep 29, 2022 · 0 comments
Open

Redundant code flagged by static analysis #1

a-wilhelm opened this issue Sep 29, 2022 · 0 comments

Comments

@a-wilhelm
Copy link

These lines serve no purpose and can all be deleted, all are flagged as "self assignment" warnings by static analysis:

iis2dlpc-pid/iis2dlpc_reg.c

Lines 187 to 190 in cea7c30

else
{
ret = ret;
}

iis2dlpc-pid/iis2dlpc_reg.c

Lines 334 to 337 in cea7c30

else
{
ret = ret;
}

iis2dlpc-pid/iis2dlpc_reg.c

Lines 1146 to 1149 in cea7c30

else
{
ret = ret;
}

iis2dlpc-pid/iis2dlpc_reg.c

Lines 1737 to 1740 in cea7c30

else
{
ret = ret;
}

iis2dlpc-pid/iis2dlpc_reg.c

Lines 1814 to 1817 in cea7c30

else
{
ret = ret;
}

iis2dlpc-pid/iis2dlpc_reg.c

Lines 2088 to 2091 in cea7c30

else
{
ret = ret;
}

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

No branches or pull requests

1 participant