From 2019379a42dfbc03dc00c8611adccc85730d0c4e Mon Sep 17 00:00:00 2001 From: Michael Cook Date: Fri, 11 Oct 2013 00:00:21 -0400 Subject: [PATCH] bool* foo = false should probably be an error, GCC 4.8+ at least warns about it, clang I think fails on it. --- zone/zonedb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/zonedb.h b/zone/zonedb.h index 76f528e29..d3d096fcf 100644 --- a/zone/zonedb.h +++ b/zone/zonedb.h @@ -217,7 +217,7 @@ public: bool GetAccountInfoForLogin(uint32 account_id, int16* admin = 0, char* account_name = 0, uint32* lsaccountid = 0, uint8* gmspeed = 0, bool* revoked = 0, bool* gmhideme = 0); bool GetAccountInfoForLogin_result(MYSQL_RES* result, int16* admin = 0, char* account_name = 0, - uint32* lsaccountid = 0, uint8* gmspeed = 0, bool* revoked = 0, bool* gmhideme = false, + uint32* lsaccountid = 0, uint8* gmspeed = 0, bool* revoked = 0, bool* gmhideme = nullptr, uint32* account_creation = 0); bool GetCharacterInfoForLogin_result(MYSQL_RES* result, uint32* character_id = 0, char* current_zone = 0, PlayerProfile_Struct* pp = 0, Inventory* inv = 0, ExtendedProfile_Struct *ext = 0, uint32* pplen = 0,