Fix misleading indentation issues

This patch fixes misleading indentation mistakes reported by GCC 6.1.1

	* tools/abipkgdiff.cc (compare): Likewise.
	* tools/abisym.cc (main): Fix misleading indentation.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2016-09-21 12:04:38 +02:00
parent 3227d2156a
commit a97547f905
2 changed files with 24 additions and 24 deletions

View File

@ -1151,11 +1151,11 @@ compare(const elf_file& elf1,
emit_prefix("abipkgdiff", cerr)
<< " DONE reading file " << elf2.path << "\n";
if (verbose)
emit_prefix("abipkgdiff", cerr)
<< " Comparing the ABIs of: \n"
<< " " << elf1.path << "\n"
<< " " << elf2.path << "\n";
if (verbose)
emit_prefix("abipkgdiff", cerr)
<< " Comparing the ABIs of: \n"
<< " " << elf1.path << "\n"
<< " " << elf2.path << "\n";
diff = compute_diff(corpus1, corpus2, ctxt);

View File

@ -162,25 +162,25 @@ main(int argc, char* argv[])
cout << " found symbol '" << n << "'";
if (n != sym->get_name())
cout << " (" << sym->get_name() << ")";
cout << ", an instance of "
<< (elf_symbol::type) sym->get_type()
<< " of " << sym->get_binding();
if (syms.size() > 1 || !sym->get_version().is_empty())
{
cout << ", of version";
if (syms.size () > 1)
cout << "s";
cout << " ";
for (vector<elf_symbol_sptr>::const_iterator i = syms.begin();
i != syms.end();
++i)
{
if (i != syms.begin())
cout << ", ";
cout << "'" << (*i)->get_version().str() << "'";
}
}
cout << '\n';
cout << ", an instance of "
<< (elf_symbol::type) sym->get_type()
<< " of " << sym->get_binding();
if (syms.size() > 1 || !sym->get_version().is_empty())
{
cout << ", of version";
if (syms.size () > 1)
cout << "s";
cout << " ";
for (vector<elf_symbol_sptr>::const_iterator i = syms.begin();
i != syms.end();
++i)
{
if (i != syms.begin())
cout << ", ";
cout << "'" << (*i)->get_version().str() << "'";
}
}
cout << '\n';
return 0;
}