Skip to content

Commit

Permalink
Actually, the loop wasn't needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
moisespr123 committed Sep 18, 2018
1 parent 1ed52a2 commit 394be7f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/opusenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -803,9 +803,6 @@ int main(int argc, char **argv)
for (size_t i = strlen(inFile); i != 0; i--) {
outFile[i] = '\0';
if (inFile[i] == '\\' || inFile[i] == '/') {
for (size_t j = i; j != strlen(inFile); j++) {
outFile[j] = inFile[j];
}
break;
}
else if (inFile[i] == '.') {
Expand Down

0 comments on commit 394be7f

Please sign in to comment.