Commit 6a119e4a authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[master] Remove some unused assignments

Reported by clang-analyzer.
parent fc5c1f86
......@@ -146,7 +146,7 @@ int main(int argc, char** argv) {
if (c_found || f_found || y_found) {
cur_spec.addOutputOption(cur_opt);
cur_opt = def_opt;
c_found = f_found = y_found = false;
f_found = y_found = false;
}
// Set the output option for this switch.
......@@ -174,7 +174,7 @@ int main(int argc, char** argv) {
if (c_found || f_found || y_found) {
cur_spec.addOutputOption(cur_opt);
cur_opt = def_opt;
c_found = f_found = y_found = false;
c_found = y_found = false;
}
// Set the output option for this switch.
......@@ -236,7 +236,7 @@ int main(int argc, char** argv) {
if (c_found || f_found || y_found) {
cur_spec.addOutputOption(cur_opt);
cur_opt = def_opt;
c_found = f_found = y_found = false;
c_found = f_found = false;
}
y_found = true;
cur_opt.destination = OutputOption::DEST_SYSLOG;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment