diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-08-21 00:40:07 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-08-21 00:40:07 +0200 |
commit | bc3a3cee3dffcd5a3fcb2adef435baa8b89e93fb (patch) | |
tree | defac53f86c92b4c1a85af20f897477097556442 | |
parent | Make the accesors inline and document AudioFile.cpp. (diff) | |
download | music-file-organizer-bc3a3cee3dffcd5a3fcb2adef435baa8b89e93fb.tar.xz music-file-organizer-bc3a3cee3dffcd5a3fcb2adef435baa8b89e93fb.zip |
Don't redeclare that variable.
-rw-r--r-- | organizemusic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/organizemusic.cpp b/organizemusic.cpp index 608b6e6..b705091 100644 --- a/organizemusic.cpp +++ b/organizemusic.cpp @@ -285,7 +285,7 @@ int main(int argc, char *argv[]) /* Process all arguments to program as input paths. */ for (int i = 1; i < argc; ++i) { - size_t len = strlen(argv[i]); + len = strlen(argv[i]); if (argv[i][len - 1] == '/') argv[i][len - 1] = '\0'; process_path(argv[i]); |