From dddba8bbda8fbb04c549d0a92a94e7964a620e62 Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Fri, 25 Apr 2025 15:51:21 -0700 Subject: [PATCH] Potential fix for code scanning alert no. 93: Unsigned difference expression compared to zero Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- src/NotesLoaderSM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NotesLoaderSM.cpp b/src/NotesLoaderSM.cpp index 1e19bcaf4f..00934e72fc 100644 --- a/src/NotesLoaderSM.cpp +++ b/src/NotesLoaderSM.cpp @@ -1432,7 +1432,7 @@ void SMLoader::ParseBGChangesString(const RString& _sChanges, std::vector 0) { + if (pos != start) { if ((start == 0) && (pos == _sChanges.size())) sChanges = _sChanges; else