mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 09:09:16 +08:00
* cli/cli-script.c (define_command): Check for a bad hook value in
switch statement.
This commit is contained in:
@ -1169,6 +1169,7 @@ define_command (char *comname, int from_tty)
|
||||
break;
|
||||
default:
|
||||
/* Should never come here as hookc would be 0. */
|
||||
internal_error ("%s:%d: bad switch", __FILE__, __LINE__);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user