control.c: Fix 'val' uninitialized warning