Update to clang-tidy 18

* remove unused variable
* Use clang-18 for ResInsight build
* Update to clang-tidy-18
* Add NOLINTNEXTLINE
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2025-04-14 20:31:11 +02:00
1 parent 89b2de19b4
commit a09a189214
4 files changed
+19 -20

No files matched your search

-2
View File
@@ -4639,7 +4639,6 @@ bool util_mkdir_p(const char *_path) {
int current_pos = 0;
if (!util_is_directory(path)) {
int i = 0;
active_path = (char*)util_calloc(strlen(path) + 1 , sizeof * active_path );
do {
@@ -4647,7 +4646,6 @@ bool util_mkdir_p(const char *_path) {
if (n < strlen(path))
n += 1;
path += n;
i++;
strncpy(active_path , _path , n + current_pos);
active_path[n+current_pos] = '\0';
current_pos += n;