projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix all the simple compiler warnings.
[open-adventure.git]
/
actions.c
diff --git
a/actions.c
b/actions.c
index c25668915aa10b7aa97f62dd6a8aeb96ea5390fd..9a68f268429a0f5ed1c9c615164fc1e325996850 100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-694,7
+694,6
@@
static int listen(void)
static int lock(token_t verb, token_t obj)
/* Lock, unlock, no object given. Assume various things if present. */
{
static int lock(token_t verb, token_t obj)
/* Lock, unlock, no object given. Assume various things if present. */
{
- int k;
int spk = ACTSPK[verb];
if (obj == INTRANSITIVE) {
spk=28;
int spk = ACTSPK[verb];
if (obj == INTRANSITIVE) {
spk=28;
@@
-989,7
+988,6
@@
int action(FILE *input, enum speechpart part, long verb, token_t obj)
* unless verb is "say", which snarfs arbitrary second word.
*/
{
* unless verb is "say", which snarfs arbitrary second word.
*/
{
- int kk;
token_t spk=ACTSPK[verb];
if (part == unknown)
token_t spk=ACTSPK[verb];
if (part == unknown)