ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/io/NonBondedInteractionsSectionParser.cpp
(Generate patch)

Comparing trunk/src/io/NonBondedInteractionsSectionParser.cpp (file contents):
Revision 1879 by gezelter, Sun Jun 16 15:15:42 2013 UTC vs.
Revision 2071 by gezelter, Sat Mar 7 21:41:51 2015 UTC

# Line 78 | Line 78 | namespace OpenMD {
78      
79      NonBondedInteractionTypeEnum nbit = getNonBondedInteractionTypeEnum(itype);
80      nTokens -= 3;
81 <    NonBondedInteractionType* interactionType;
81 >    NonBondedInteractionType* interactionType = NULL;
82      
83      //switch is a nightmare to maintain
84      switch(nbit) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines