widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #07527
Re: [Merge] lp:~widelands-dev/widelands/ai_coverity into lp:widelands
Review: Approve
@Tibor: To answer your question, a delete deletes the object a pointer is pointing to, so yes, it would have gotten rid of the variable. The solution you implemented is much better though.
Not compiled or tested, but code LGTM :)
--
https://code.launchpad.net/~widelands-dev/widelands/ai_coverity/+merge/294132
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/ai_coverity.
References