On 2/4/07, Ahmed S. Darwish <darwish.07@gmail.com> wrote:
if we have some 100 lines of
ret = do_method()
if (ret) {
/* error handling */
}
This is going to additionally increase the number of lines of unnecessarily.
IMHO, when you have a large number of lines which do a similar thing ..
if ((ret = do_method()) < value)
goto err;
could greatly reduce the number of lines, otherwise.
manu
-