Warning: Fix 'sport' used uninitialized in function