Hi, On Monday 02 September 2013 17:41:17 Shih-Yuan Lee wrote: > I use "if (foo = bar)" to replace the following two lines. > > foo = bar > if (foo != NULL) I meant using this instead: if ((foo = bar)) GCC warning: warning: suggest parentheses around assignment used as truth value [- Wparentheses] Regards, Peter