Skip to content

Remove unused default constructor in threadpool.h to fix AI finding#3698

Open
softins wants to merge 1 commit into
jamulussoftware:mainfrom
softins:threadpool-fix
Open

Remove unused default constructor in threadpool.h to fix AI finding#3698
softins wants to merge 1 commit into
jamulussoftware:mainfrom
softins:threadpool-fix

Conversation

@softins
Copy link
Copy Markdown
Member

@softins softins commented May 19, 2026

Short description of changes

Removes the unneeded default constructor for CThreadPool

CHANGELOG: SKIP

Context: Fixes an issue?

AI code review correctly deduced that the default constructor leaves class members uninitialised, specifically stop.
This default constructor is never used within Jamulus, and the proper constructor CThreadPool(size_t) correctly does initialise stop.

Supersedes and closes #3686

Does this change need documentation? What needs to be documented and how?

No

Status of this Pull Request

Tested and ready

What is missing until this pull request can be merged?

Nothing

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

The default constructor leaves a member uninitialised, and is not needed.
@pljones pljones added this to Tracking May 19, 2026
@github-project-automation github-project-automation Bot moved this to Triage in Tracking May 19, 2026
@pljones pljones added this to the Release 4.0.0 milestone May 19, 2026
@pljones pljones moved this from Triage to Waiting on Team in Tracking May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Waiting on Team

Development

Successfully merging this pull request may close these issues.

2 participants