mirror of
https://github.com/microsoft/terminal.git
synced 2026-07-08 17:46:05 +00:00
Add CodeQL suppression comment to propsheet (#18315)
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user