mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 20:08:37 +00:00
NULL to nullptr
This commit is contained in:
+2
-2
@@ -28,13 +28,13 @@
|
||||
|
||||
const char *getItemName(unsigned itemid)
|
||||
{
|
||||
const Item_Struct* item = NULL;
|
||||
const Item_Struct* item = nullptr;
|
||||
item = database.GetItem(itemid);
|
||||
|
||||
if (item)
|
||||
return item->Name;
|
||||
else
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
XS(XS_qc_getItemName); /* prototype to pass -Wmissing-prototypes */
|
||||
|
||||
Reference in New Issue
Block a user