minor fixes

git-svn-id: http://svn.miranda-ng.org/main/trunk@10982 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
minor fix

git-svn-id: http://svn.miranda-ng.org/main/trunk@10983 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
not needed NULL checks

git-svn-id: http://svn.miranda-ng.org/main/trunk@10984 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c