Repiar warning with passing NULL as a float value