mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 22:50:25 -05:00
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:
1 parent
89b2de19b4
commit
a09a189214
4 files changed
+19
-20
No files matched your search
Vendored
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user