Remove unneeded assignment. Added warning for wrong Dynamic. (code scanned with clang static analyzer :-) )