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 _______________________________________________ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/devkit-devel