--- trunk/src/io/NonBondedInteractionsSectionParser.cpp 2013/06/16 15:15:42 1879 +++ trunk/src/io/NonBondedInteractionsSectionParser.cpp 2015/03/07 21:41:51 2071 @@ -78,7 +78,7 @@ namespace OpenMD { NonBondedInteractionTypeEnum nbit = getNonBondedInteractionTypeEnum(itype); nTokens -= 3; - NonBondedInteractionType* interactionType; + NonBondedInteractionType* interactionType = NULL; //switch is a nightmare to maintain switch(nbit) {