「view this page in B3 βῆτα server」

Revisions №56634

branch: master 「№56634」
Commited by: Rocco Moretti
GitHub commit link: 「55b2b64494f2c76e」
Difference from previous tested commit:  code diff
Commit date: 2014-04-07 13:25:35

Fix ccpcheck errors Ran cppcheck 1.49 on all *.cc and *.hh files in src/ using --suppress=stlOutOfBounds (as cppcheck is confused by vector1's) No test changes observed locally. Did not touch anything in src/apps/pilot, but addressed everything else: * Memory allocated with new[] needs to be freed with delete [] src/basic/gpu/GPU.cc src/core/io/serialization/serialize_pose.hh src/core/scoring/sc/ShapeComplementarityCalculator.cc src/numeric/geometry/hashing/xyzStripeHash.cc * Add freeing of memory in alternate code paths src/core/scoring/electron_density/ElectronDensity.cc * Address possible memory leak with realloc src/utility/libsvm/Svm.cc * Fix deletion from vector while iterating over it src/protocols/forge/build/SegmentInsert.cc src/protocols/forge/build/SegmentRebuild.cc * Fix use of the wrong object in iteration src/protocols/docking/DockingHighResLegacy.cc * Division by zero issues src/protocols/simple_moves/TailsScoreMover.cc * cppcheck says scoping to current class is "unnecessary and considered an error by many compilers" src/core/pack/interaction_graph/DoubleLazyInteractionGraph.hh src/core/pack/interaction_graph/LazyInteractionGraph.hh src/core/pack/interaction_graph/LinearMemoryInteractionGraph.hh src/python/bindings/src/utility/_utility__by_hand_beginning.cc * Spurious parenthesis and missing curly braces (some of these files might not be compiling) src/core/chemical/sdf/ctab_parser.cc src/devel/path_rover/pathrover.cc src/devel/path_rover/pathrover.hh src/devel/simple_options/test.hh src/devel/simple_options/working/test.hh src/protocols/noesy_assign/Assignment.hh src/protocols/noesy_assign/CyanaModule.cc * Random code that has been ifdef'ed out for over 6 years - I think it's safe to say we don't need it anymore src/protocols/jobdist/JobDistributors.cc

...