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

prov/lpp: Address coverity scan issues #10438

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

tstruk
Copy link
Contributor

@tstruk tstruk commented Oct 7, 2024

Address coverity scan issues in LPP and lpp_regression fabtest.

Address coverity scan issues in LPP and lpp_regression fabtest.

Signed-off-by: Tadeusz Struk <tstruk@gigaio.com>
@@ -233,7 +234,7 @@ static void *info_server_thread(void *arg)

int info_server_sock = setup_server(info_server_port);

while (1) {
while (server_running) {
Copy link
Contributor

Choose a reason for hiding this comment

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

sever_running is set to 1 before the thread is created and never set to 0. What's the difference from the old code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is just to stop the coverity complaining about dead code after the while loop.

@a-szegel
Copy link
Contributor

bot:aws:retest

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