Fixes code analysis issues
Fixes code analysis issues

bluelml/core,Ardinis/server,jbicha/server,michaelletzgus/nextcloud-server,pixelipo/server,IljaN/core,endsguy/server,xx621998xx/server,pollopolea/core,endsguy/server,whitekiba/server,pollopolea/core,bluelml/core,endsguy/server,pmattern/server,whitekiba/server,pixelipo/server,Ardinis/server,whitekiba/server,owncloud/core,michaelletzgus/nextcloud-server,xx621998xx/server,owncloud/core,jbicha/server,andreas-p/nextcloud-server,cernbox/core,nextcloud/server,pmattern/server,pixelipo/server,nextcloud/server,IljaN/core,IljaN/core,xx621998xx/server,xx621998xx/server,michaelletzgus/nextcloud-server,owncloud/core,IljaN/core,pmattern/server,pollopolea/core,xx621998xx/server,bluelml/core,Ardinis/server,pollopolea/core,pmattern/server,endsguy/server,nextcloud/server,sharidas/core,andreas-p/nextcloud-server,sharidas/core,phil-davis/core,michaelletzgus/nextcloud-server,cernbox/core,Ardinis/server,Ardinis/server,cernbox/core,jbicha/server,cernbox/core,jbicha/server,nextcloud/server,pollopolea/core,andreas-p/nextcloud-server,whitekiba/server,pmattern/server,bluelml/core,bluelml/core,IljaN/core,sharidas/core,owncloud/core,pixelipo/server,sharidas/core,sharidas/core,andreas-p/nextcloud-server,cernbox/core,whitekiba/server,andreas-p/nextcloud-server,jbicha/server,endsguy/server,owncloud/core,pixelipo/server