diff options
author | jaseg <git@jaseg.net> | 2020-12-25 15:54:09 +0100 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2020-12-25 15:54:09 +0100 |
commit | 8d54f67f41f93c4cb4ac3e413a431111904e73e3 (patch) | |
tree | de9be1084e3aa4565f23fd111841ae545a149275 | |
parent | b6480279fb2ca0003f05f9f884f7bbd8a7d3768d (diff) | |
download | lolcat-8d54f67f41f93c4cb4ac3e413a431111904e73e3.tar.gz lolcat-8d54f67f41f93c4cb4ac3e413a431111904e73e3.tar.bz2 lolcat-8d54f67f41f93c4cb4ac3e413a431111904e73e3.zip |
Fix variable scoping error
-rw-r--r-- | censor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,10 +27,10 @@ int main(int argc, char** argv) { + char* foo[] = { "-" }; char** inputs = argv + 1; char** inputs_end = argv + argc; if (inputs == inputs_end) { - char* foo[] = { "-" }; inputs = foo; inputs_end = inputs + 1; } |