use clang staic analyzer scan-build + add scan-build checker cathegory
dead assignment: res, len
SpatialPoolerTest: dead assignment: unused vars
RegionImpl::setParameterArray add check if read succeeded
Cells4: dead assignment candConfidence
move rc check inside for loop
LoggingException: dont call virtual fn from destructor
Revert "use clang staic analyzer scan-build + add scan-build checker cathegory"

This reverts commit 5f663209c8ffae8df78da27b4ab47c91af85abe9.
Merge branch 'master' into analyzer
use NTA_ASSERT in check
Revert "dead assignment: res, len"

This reverts commit 139cab49dd39de0be225ad212982c7508e237b09.
clang's false positive: this x[0].f is used in TEST() later
just dont care for return value, fn read() has to be executed
Merge pull request #319 from breznak/analyzer

Clang static analyzer