From: Roland McGrath Date: Sat, 10 Jan 2009 10:06:08 +0000 (-0800) Subject: Cosmetic. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8dafcd651ee84358cef589e921fc63c8b6553abc;p=thirdparty%2Felfutils.git Cosmetic. --- diff --git a/src/dwarfcmp.cc b/src/dwarfcmp.cc index 4c84f25f5..1b419e672 100644 --- a/src/dwarfcmp.cc +++ b/src/dwarfcmp.cc @@ -161,7 +161,7 @@ struct context void values (int name) const { - location () << "different values for attribute 0x" << name << endl; + location () << "different values for attribute 0x" << hex << name << endl; } }; @@ -233,8 +233,9 @@ describe_mismatch (const dwarf::compile_unit &a, const dwarf::compile_unit &b, } template<> -int describe_mismatch (const dwarf::attribute &a, const dwarf::attribute &b, - const context &say) +int +describe_mismatch (const dwarf::attribute &a, const dwarf::attribute &b, + const context &say) { int result = a.first != b.first; if (result != 0) @@ -294,11 +295,9 @@ main (int argc, char *argv[]) } else { - elfutils::dwarf file1 (dw1); elfutils::dwarf file2 (dw2); - if (quiet) result = !(file1 == file2); else