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

runtime: remove some build warnings #391

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

Jafaral
Copy link
Member

@Jafaral Jafaral commented Mar 25, 2024

No description provided.

Signed-off-by: Jafar Al-Gharaibeh <[email protected]>
@@ -4060,7 +4060,8 @@ int strimage(wbp w,
}
}
else {
int lastr=-1, lastg=-1, lastb=-1, count = 0;
int lastr=-1, lastg=-1, lastb=-1;
//int count = 0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I've been looking at the history of this block of code. count was introduced by commit f1c1257 in 2007. It wasn't used then (except to be incremented for no apparent purpose) and it has never been used up to today. I'm content for you to comment it out, but I wonder why we don't just delete it.

@Don-Ward Don-Ward merged commit 3510264 into uniconproject:master Mar 27, 2024
16 checks passed
@Jafaral Jafaral deleted the clang-warn branch April 1, 2024 04:54
ValG4 pushed a commit to ValG4/unicon that referenced this pull request Dec 7, 2024
runtime: remove some build warnings
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.

2 participants