coverity#1212487 try and silence Copy-paste error

Change-Id: Ib0b1b997b95a40c86d446cfee681982bb475b7e9
coverity#1242968 Unused value

Change-Id: I1cd88014175fe061d4db291b8d1430897c2c0084
coverity#1242900 Unused value

Change-Id: Ic556e9ca669af5d514ebe4d6bcff7bdc9271dc7a
coverity#1242888 Unused value

Change-Id: I3adde518347208cb1ab7a2013c519d9eabcf7b3d
coverity#1242871 Unused value

Change-Id: I1204b904b446c2ec3132064e89aa6f20c5523470
coverity#1242849 Unused value

status gets overwritten after the switch ends

Change-Id: I60d4f61e6e1f31f9dd79c178c9a6f7060d154013
coverity#1242834 Unused value

Change-Id: I2a68873d335f5efc27679c7bae619d942bbc5efe
coverity#1242803 Unused value

Change-Id: I674f8ef309052737d742802ca4756c8e51e4385c
coverity#1242802 coverity gold(?) Structurally dead code, loop doesn't loop

Change-Id: I2be3e6d88472ba8b69f012aaf975a91f0ab4f693
coverity#1242792 Unused value

Change-Id: I66000e2e3ae8d28f5f04bb6404c73feb2a1e8905
coverity#1242762 Unused value

Change-Id: I5bba3f999782af77ee2211d8666d57feb91165ab
coverity#1242503 Resource leak

Change-Id: If9a6c1e5353364238ce4a888ecc80ead28497c76
coverity#1242502 Resource leak

Change-Id: I4185bbcc40419fced50ca684c35d1090cf361c4c
coverity#1242500 Resource leak

Change-Id: I8680049ce810ca30ade33d168486bd589d434a4e
coverity#1242499 Resource leak

Change-Id: Ie1de3270723e36f7fd4bfdc4192745c521c61ea4
coverity#1242498 Resource leak

Change-Id: I832bbf09756e616877621f186ddba17784de9f43
PutGroupDoc(foo) is just delete foo

so just replace it with delete and simplify the code
around it now we know exactly what it does

Change-Id: Ie23bc46583684bda35b47022ea9853f25a415b0d
coverity#1242481 Dereference null return value

Change-Id: I21e6bdd643d898a3515a96e4c9c17c2d6f98b0e4
coverity#1242480 Dereference null return value

Change-Id: I9818e647915bd2b973c617feb7efd256621cf2de
coverity#1242479 Dereference null return value

Change-Id: Ie9a9a3438408900d4a5e07b50f4e636e06f94026