diff options
author | Neil <nyamatongwe@gmail.com> | 2024-01-30 10:11:10 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-01-30 10:11:10 +1100 |
commit | 77d00274b4e729ba5eac3cda390d6aa9478567ca (patch) | |
tree | 01744884872093ea9406a206e554f9d569a3b0d2 /test/unit/testCellBuffer.cxx | |
parent | 72689db0d549c0cb850012546c71117ea74c2f2c (diff) | |
download | scintilla-mirror-77d00274b4e729ba5eac3cda390d6aa9478567ca.tar.gz |
Avoid warnings in unit tests with const, nullptr, [[nodiscard]], initialisation,
and unnamed namespace.
Diffstat (limited to 'test/unit/testCellBuffer.cxx')
-rw-r--r-- | test/unit/testCellBuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/testCellBuffer.cxx b/test/unit/testCellBuffer.cxx index 5e5b0b138..b6e03d2ee 100644 --- a/test/unit/testCellBuffer.cxx +++ b/test/unit/testCellBuffer.cxx @@ -1405,7 +1405,7 @@ TEST_CASE("CellBufferLong") { SECTION("Random") { RandomSequence rseq; - for (size_t i = 0l; i < 20000; i++) { + for (size_t i = 0; i < 20000; i++) { const int r = rseq.Next() % 10; if (r <= 2) { // 30% // Insert text |