Fixed an analyser warning