Skip to content
Snippets Groups Projects
Commit 40c50fcf authored by Studer Gabriel's avatar Studer Gabriel
Browse files

silence some compilation warnings

parent 103e7472
No related branches found
No related tags found
No related merge requests found
...@@ -194,24 +194,10 @@ void GromacsHydrogenConstructor::ApplyOnResidue(ost::mol::ResidueHandle& res, os ...@@ -194,24 +194,10 @@ void GromacsHydrogenConstructor::ApplyOnResidue(ost::mol::ResidueHandle& res, os
std::vector<geom::Vec3> hydrogen_positions; std::vector<geom::Vec3> hydrogen_positions;
std::vector<geom::Vec3> anchor_positions; std::vector<geom::Vec3> anchor_positions;
bool hydrogens_present;
for(uint a=0;a<add_number_.size();++a){ for(uint a=0;a<add_number_.size();++a){
hydrogen_names = hydrogen_names_[a]; hydrogen_names = hydrogen_names_[a];
/*
bool hydrogens_present = true;
for(std::vector<String>::iterator i = hydrogen_names.begin();
i != hydrogen_names.end(); ++i){
if(!res.FindAtom(*i).IsValid()){
hydrogens_present = false;
break;
}
}
if(hydrogens_present) continue;
*/
number = add_number_[a]; number = add_number_[a];
method = methods_[a]; method = methods_[a];
anchor_names = anchor_atom_names_[a]; anchor_names = anchor_atom_names_[a];
...@@ -220,8 +206,6 @@ void GromacsHydrogenConstructor::ApplyOnResidue(ost::mol::ResidueHandle& res, os ...@@ -220,8 +206,6 @@ void GromacsHydrogenConstructor::ApplyOnResidue(ost::mol::ResidueHandle& res, os
anchor_positions.clear(); anchor_positions.clear();
anchor_atoms.clear(); anchor_atoms.clear();
String atom_name; String atom_name;
ost::mol::ResidueHandle temp_res; ost::mol::ResidueHandle temp_res;
ost::mol::AtomHandle atom; ost::mol::AtomHandle atom;
...@@ -279,7 +263,6 @@ void GromacsHydrogenConstructor::ApplyOnResidue(ost::mol::ResidueHandle& res, os ...@@ -279,7 +263,6 @@ void GromacsHydrogenConstructor::ApplyOnResidue(ost::mol::ResidueHandle& res, os
if(!atom.IsValid()){ if(!atom.IsValid()){
atom = ed.InsertAtom(res,hydrogen_names[b],hydrogen_positions[b],"H"); atom = ed.InsertAtom(res,hydrogen_names[b],hydrogen_positions[b],"H");
} }
//ed.Connect(atom, anchor_atoms[0]);
} }
} }
} }
...@@ -482,25 +465,4 @@ void GromacsBlockModifier::CheckInteractionToAdd(MMInteractionPtr p, const Strin ...@@ -482,25 +465,4 @@ void GromacsBlockModifier::CheckInteractionToAdd(MMInteractionPtr p, const Strin
} }
}}}//ns }}}//ns
...@@ -82,9 +82,9 @@ public: ...@@ -82,9 +82,9 @@ public:
ds & has_name_wildcard_; ds & has_name_wildcard_;
if(ds.IsSource()){ if(ds.IsSource()){
int num_types; int num_types = 0;
int num_names; int num_names = 0;
int num_param; int num_param = 0;
ds & num_types; ds & num_types;
ds & num_names; ds & num_names;
ds & num_param; ds & num_param;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment