Fix build warnings for shadow default assignment operator

These were revealed by paraview dashboard
Merge pull request #339 from gcasey/warnings-fix

Fix build warnings for shadow and default assignment operator.
See http://open.cdash.org/viewBuildError.php?type=1&buildid=2933423