Remove unused variables.

Fixes CID #966363, #966530
Fix uninitialized scalar field

 CID #966282, #966283, #966284, #966285, #966286, #966287, #966311,
 #966316, #366317, #366318, #966343, #966345, #966350, #966349, #966359,
 #366360, #966362, #966363, #966364, #966365, #966366, #966370, #966373,
 #966374, #966375, #966376, #966377, #1027114, #1026047
Fix Uninitialized pointer field

CID #966281, #966310, #966313, #966314, #966328, #966329, #966346,
 #966354, #966358, #966361, #966371, #966372, #966378, #1041190
Cosmetics in CSyncAP, CBaseAP and CEVRAllocatorPresenter constructor for coverity
fixes and better readability.

Fixes CID #966315, #966319, #966320