[DiscordArchive] what is the compile error?
[DiscordArchive] what is the compile error?
Archived author: Kitzunu • Posted: 2020-05-11T19:46:31.409000+00:00
Original source
xd
Archived author: MishaParem • Posted: 2020-05-11T19:47:46.866000+00:00
Original source
the alternative to deleting lines 18963 and 18978 is to change 18996:
from
if (m && fields[20].GetBool() /* has_items */ && fields[12].GetUInt32() /* itemEntry */)
to
if (m && has_items && fields[12].GetUInt32() /* itemEntry */)
Archived author: Kitzunu • Posted: 2020-05-11T19:48:38.716000+00:00
Original source
but if you change 18978 to bool has_items it still fails?
Archived author: Kitzunu • Posted: 2020-05-11T19:49:20.042000+00:00
Original source
I am trying to figure out what the reasoning to adding it in the first place were, but Github won't load that many lines in the file
Archived author: Kitzunu • Posted: 2020-05-11T19:49:21.474000+00:00
Original source
Q.Q
Archived author: MishaParem • Posted: 2020-05-11T19:50:26.725000+00:00
Original source
I haven't actually tried. The compiler warning w/o change leads me to believe that it doesn't matter where we assign a value to has_items, if it's never used, the warning will persist
Archived author: MishaParem • Posted: 2020-05-11T19:50:45.374000+00:00
Original source
gimme a sec I'll try the change and see what the compiler says
Archived author: Kitzunu • Posted: 2020-05-11T19:51:05.439000+00:00
Original source
https://github.com/azerothcore/azerothco...b8aad9512c
[Embed: Removed more warnings, mostly related to unused-variable · azerothc...]
issue #121
We still have to work on unused-parameter
https://github.com/azerothcore/azerothco...b8aad9512c
Archived author: Kitzunu • Posted: 2020-05-11T19:51:12.919000+00:00
Original source
the commit that changed this
Archived author: Kitzunu • Posted: 2020-05-11T19:51:13.476000+00:00
Original source