[PATCH] Mere code changes to silent warnings

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Mere code changes to silent warnings

DEV Nexen
HI dear list here a tiny patch proposal to silent few warnings :
- Undefined behaviour when a constant is defined as
#define A <cond> ... it is usually better this form #if <cond> #define A 1
...
- Wrong pointer comparison.
- Useless template specialisations.

Hope it helps.

Thanks.

hotspot.diff (4K) Download Attachment