mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
Early-continue.Reducing indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
717f7fa12a
commit
43a699a112
@ -85,7 +85,7 @@ static void recursive_mkdir(const char *filename) {
|
|||||||
int i, e;
|
int i, e;
|
||||||
|
|
||||||
for (i = 1, e = strlen(filename); i != e; ++i) {
|
for (i = 1, e = strlen(filename); i != e; ++i) {
|
||||||
if (filename[i] == '/') {
|
if (filename[i] != '/') continue;
|
||||||
pathname = malloc(i + 1);
|
pathname = malloc(i + 1);
|
||||||
strncpy(pathname, filename, i);
|
strncpy(pathname, filename, i);
|
||||||
pathname[i] = '\0';
|
pathname[i] = '\0';
|
||||||
@ -96,7 +96,6 @@ static void recursive_mkdir(const char *filename) {
|
|||||||
#endif
|
#endif
|
||||||
free(pathname);
|
free(pathname);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user