diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:20:07 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:22:35 +0100 |
commit | a44d5bc11bf6d7049d75169ff81c20bec96f996c (patch) | |
tree | caaca9ca461082ba1a1bc9e18d263fa30a8a5e2e /src/spells2.cc | |
parent | e07b97b94753c09abb56f56884f7e81cf3feeb92 (diff) |
Clean up compiler warnings
Diffstat (limited to 'src/spells2.cc')
-rw-r--r-- | src/spells2.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/spells2.cc b/src/spells2.cc index 4a93b518..b285b15e 100644 --- a/src/spells2.cc +++ b/src/spells2.cc @@ -357,20 +357,6 @@ bool_ do_inc_stat(int stat) */ void identify_hooks(int i, object_type *o_ptr, identify_mode mode) { - cptr mode_s = NULL; - - switch (mode) - { - case IDENT_NORMAL: - mode_s = "normal"; - break; - case IDENT_FULL: - mode_s = "full"; - break; - default: - assert(FALSE); - } - /* Process the appropriate hooks */ hook_identify_in in = { o_ptr, mode }; process_hooks_new(HOOK_IDENTIFY, &in, NULL); |