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
+2
View File
@@ -886,6 +886,8 @@ obj_to_instr(struct obj *obj) {
ret_instr = ins_melodic_tom; ret_instr = ins_melodic_tom;
break; break;
} }
#else
nhUse(obj);
#endif #endif
return ret_instr; return ret_instr;
} }