Skip to content

Commit

Permalink
Add CodeQL suppression comment to propsheet (#18315)
Browse files Browse the repository at this point in the history
CodeQL is raising errors when building Visual Studio since we have a
dependency on Windows Terminal for our integrated terminal. The issue
raised is not applicable to this case and therefore requires a
suppression comment to ignore the raised error.
  • Loading branch information
javierdlg authored Dec 12, 2024
1 parent 8ef77fb commit 19460f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/propsheet/fontdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,7 @@ BOOL PreviewUpdate(
LoadString(ghInstance, IDS_FONTSIZE, wszBuf, ARRAYSIZE(wszBuf));
StringCchPrintf(wszText,
ARRAYSIZE(wszText),
wszBuf,
wszBuf, // CodeQL [SM01734] Pulled from a resource file and cannot be a string literal
MIN_PIXEL_HEIGHT,
MAX_PIXEL_HEIGHT);

Expand Down

0 comments on commit 19460f9

Please sign in to comment.