Skip to content

Commit

Permalink
warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pefoley2 committed Aug 21, 2016
1 parent a1fa7ed commit cdbbb60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions dataflowAPI/src/SymEvalPolicy.C
Expand Up @@ -350,6 +350,7 @@ Absloc SymEvalPolicy_64::convert(PowerpcRegisterClass regtype, int regNum)
case powerpc_regclass_sr:break;
case powerpc_last_register_class:break;
}
assert(0);
}

Absloc SymEvalPolicy_64::convert(X86GeneralPurposeRegister r)
Expand Down
2 changes: 1 addition & 1 deletion dyninstAPI/src/Relocation/Widgets/CFWidget.C
Expand Up @@ -115,7 +115,7 @@ CFWidget::CFWidget(InstructionAPI::Instruction::Ptr insn, Address addr) :
// I'm working around it here and in Movement-adhoc.C by checking _both_
// 32- and 64-bit.

Architecture fixme = insn_->getArch();
//Architecture fixme = insn_->getArch();
//if (fixme == Arch_ppc32) fixme = Arch_ppc64;

Expression::Ptr thePC(new RegisterAST(MachRegister::getPC(insn_->getArch())));
Expand Down
2 changes: 1 addition & 1 deletion symtabAPI/src/Symtab-lookup.C
Expand Up @@ -391,7 +391,7 @@ bool Symtab::findModuleByOffset(Module *&ret, Offset off)
{
std::sort(_mods.begin(), _mods.end(), module_less);
// this should be a hash, really
for(int i = 0; i < _mods.size(); i++)
for(size_t i = 0; i < _mods.size(); i++)
{
// cout << *(_mods[i]) << endl;
if(_mods[i]->addr() == off)
Expand Down

0 comments on commit cdbbb60

Please sign in to comment.