mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-05 14:18:11 +00:00
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:
parent
3227d2156a
commit
a97547f905
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user