* cli/cli-script.c (define_command): Check for a bad hook value in
switch statement.
This commit is contained in:
parent
10214f55f8
commit
e191e0abe5
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
|
||||||
|
|
||||||
|
* cli/cli-script.c (define_command): Check for a bad hook value in
|
||||||
|
switch statement.
|
||||||
|
|
||||||
2001-01-30 J.T. Conklin <jtc@redback.com>
|
2001-01-30 J.T. Conklin <jtc@redback.com>
|
||||||
|
|
||||||
* configure/sh/embed.mt: New file.
|
* configure/sh/embed.mt: New file.
|
||||||
|
|
|
@ -1169,6 +1169,7 @@ define_command (char *comname, int from_tty)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Should never come here as hookc would be 0. */
|
/* Should never come here as hookc would be 0. */
|
||||||
|
internal_error ("%s:%d: bad switch", __FILE__, __LINE__);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue