Fix potential warning in music.c

I saw this included in PR966, but it has nothing to do with the
use-after-free that the pull request is meant to fix. It should
get applied independently of that pull request.
This commit is contained in:
nhmall
2023-01-25 15:21:30 -05:00
parent 24c99e005a
commit b89d2e0ef1

View File

@@ -886,6 +886,8 @@ obj_to_instr(struct obj *obj) {
ret_instr = ins_melodic_tom;
break;
}
#else
nhUse(obj);
#endif
return ret_instr;
}