From c67c2b7435a13d7ce17b2075e22dc5c6036f702a Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 4 Feb 2013 00:49:50 -0800 Subject: Remove some more Skill-related stuff --- src/map/itemdb.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/itemdb.cpp') diff --git a/src/map/itemdb.cpp b/src/map/itemdb.cpp index b6a841e..62331f1 100644 --- a/src/map/itemdb.cpp +++ b/src/map/itemdb.cpp @@ -525,7 +525,8 @@ void itemdb_final(db_key_t, db_val_t data) { struct item_data *id; - nullpo_retv(id = (struct item_data *)data); + id = (struct item_data *)data; + nullpo_retv(id); if (id->use_script) free(const_cast(id->use_script)); -- cgit v1.2.3-70-g09d2