Fix some minor issues found by clang's static analyzer
Fix some minor issues found by clang's static analyzer

bradparks/ChaiScript__cplusplus_scripting_language,kamilzubair/ChaiScript,kamilzubair/ChaiScript,bradparks/ChaiScript__cplusplus_scripting_language,bradparks/ChaiScript__cplusplus_scripting_language,kamilzubair/ChaiScript