mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 19:12:57 +00:00
add warning about memory leaks reported by cppcheck
This commit is contained in:
parent
26398fed08
commit
02d8d0a07d
@ -15,6 +15,8 @@
|
||||
* strict type-checking.. See the
|
||||
* "unnecessary" pointer comparison.
|
||||
*/
|
||||
|
||||
//NOTE: cppcheck reports memory leaks in this program
|
||||
#define max(x,y) ({ \
|
||||
typeof(x) _x = (x); \
|
||||
typeof(y) _y = (y); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user