Skip to content

Fix: CI Compiler Warnings#758

Merged
xsscx merged 1 commit intomasterfrom
fix-code-coreguidelines
Mar 29, 2026
Merged

Fix: CI Compiler Warnings#758
xsscx merged 1 commit intomasterfrom
fix-code-coreguidelines

Conversation

@xsscx
Copy link
Copy Markdown
Member

@xsscx xsscx commented Mar 29, 2026

Pull Request Checklist

#757

  • Have you followed the guidelines in Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you built your Pull Request locally with the Build Instructions?
  • Have you added or updated relevant tests?
  • Have you added or updated relevant docs?

@xsscx xsscx requested a review from ChrisCoxArt March 29, 2026 03:28
@xsscx xsscx self-assigned this Mar 29, 2026
@xsscx xsscx added PR Pull Request Merge Ready Maintainer indicates Merge Ready labels Mar 29, 2026
@xsscx xsscx linked an issue Mar 29, 2026 that may be closed by this pull request
@xsscx xsscx added Pending Merge Maintainer indicates Merge Pending and Requests No Further Changes and removed Merge Ready Maintainer indicates Merge Ready pending labels Mar 29, 2026
@xsscx xsscx force-pushed the fix-code-coreguidelines branch from bd8b874 to b2c164f Compare March 29, 2026 21:21
@xsscx xsscx force-pushed the fix-code-coreguidelines branch from b2c164f to 9d466f7 Compare March 29, 2026 21:30
@xsscx xsscx requested a review from dwtza as a code owner March 29, 2026 21:30
@xsscx xsscx force-pushed the fix-code-coreguidelines branch from 8366cc3 to 6a99f9d Compare March 29, 2026 22:05
@xsscx
Copy link
Copy Markdown
Member Author

xsscx commented Mar 29, 2026

@ChrisCoxArt Thank You!!

Getting better data outputs

@xsscx xsscx force-pushed the fix-code-coreguidelines branch from 6a99f9d to c974506 Compare March 29, 2026 22:19
@xsscx
Copy link
Copy Markdown
Member Author

xsscx commented Mar 29, 2026

Code Review

2026-03-29 22:23:01 UTC

False Positive

IccCmm.cpp:1126
IccUtil.cpp:684

Commit: c974506
Job

@xsscx xsscx removed the pending label Mar 29, 2026
@xsscx xsscx removed the request for review from dwtza March 29, 2026 22:27
Workflows:
- ci-latest-release.yml: add push-to-master trigger, rolling 'latest'
  GitHub Release with zipped artifacts for all 3 platforms, restrict
  top-level permissions to contents: read (release job has write)
- ci-pr-win.yml: governance-harden all pwsh steps with full flags,
  POWERSHELL_UPDATECHECK, PSDefaultParameterValues

Static analysis (cppcheck / scan-build):
- IccMpeBasic.cpp: fix self-assignment bug in CIccMpeCurveSet::operator=
  (m_nReserved = m_nReserved -> curveSet.m_nReserved)
- IccMpeBasic.cpp: add self-assignment guards to operator= in
  CIccMpeMatrix, CIccMpeJabToXYZ, CIccMpeXYZToJab (use-after-free)
- IccMpeBasic.cpp: initialize missing members in constructors and
  operator= for CIccSampledCurveSegment (m_range, m_last),
  CIccSingleSampledCurve (m_range, m_last),
  CIccSampledCalculatorCurve (m_storageType, m_range, m_last,
  m_nDesiredSize, m_pCalc NULL fallback),
  CIccMpeMatrix (m_type, m_bApplyConstants)
- IccCmm.cpp: add assert(last != NULL) for scan-build false positive
- IccProfileXml.cpp: add missing break in switch statement
- IccUtilXml.cpp: fix sscanf format specifiers (%d -> %u for unsigned)
- IccUtilXml.cpp: use long double intermediary in clipTypeRange to
  avoid implicit conversion warnings

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@xsscx xsscx force-pushed the fix-code-coreguidelines branch from c974506 to b3365c4 Compare March 29, 2026 22:44
@xsscx
Copy link
Copy Markdown
Member Author

xsscx commented Mar 29, 2026

Code Coverage Comparison

2026-03-29 04:44:39 UTC

Metric PR #758 Master (v2316) Delta
Regions 36.14% 36.11% +0.03%
Functions 38.03% 37.61% +0.42%
Lines 31.72% 31.81% -0.09%
Branches 30.67% 30.67% 0.00%

Intent

Merge

@xsscx xsscx merged commit 5aca8b1 into master Mar 29, 2026
1 check passed
@xsscx xsscx removed Pending Merge Maintainer indicates Merge Pending and Requests No Further Changes pending labels Mar 29, 2026
@xsscx xsscx deleted the fix-code-coreguidelines branch March 30, 2026 02:35
@xsscx xsscx added the ML Maintainer indicates topic related to Machine Learning label Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ML Maintainer indicates topic related to Machine Learning PR Pull Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: Compiler Warnings

2 participants