Browse Source
Initialize the selected device sequence and item index so default-constructed device selections contain defined index values before they are used. This avoids undefined behavior from accessing uninitialized members. Found by cppcheck (uninitMemberVar). Signed-off-by: Robin Getz <rgetz503@gmail.com>chirpmodem-v8.0.0
1 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue