fix gcc analyzer warning Change-Id: Ic2aaeebb516f680ba40c343c01d5be1a9232d46d Reviewed-on: https://review.haiku-os.org/c/haiku/+/7907 Haiku-Format: Haiku-format Bot <[email protected]> Tested-by: Commit checker robot <[email protected]> Reviewed-by: Jérôme Duval <[email protected]>