Cpp: Remove unused member variables

Change-Id: If9499ac3b63c9d045e9c3af4017028dc69c8655b
Reviewed-by: Lorenz Haas <lykurg@gmail.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
CppEditor: Remove unused member variables

Change-Id: I15e54d8508ed4b958d8b21d12e4f45eed4f939f3
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>