On 7 May 2013 20:05, Kir Kolyshkin <[email protected]> wrote: > On 05/06/2013 11:42 PM, Igor Podlesny wrote: [...] > No yoda conditions please. Compiler is smart enough > to warn if we accidentally use = instead of ==
It would be just a warning, meanwhile using a const as lvalue would be an error. (I still see no point to forbid that precautions technique.) > > >> logger(-1, errno, "Unable to get page size"); >> - return -1; >> } >> return pagesize; >> } > > -- _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
