Author: tjansen Date: Thu Nov 26 15:11:39 2009 New Revision: 1808 Log: Removed unused macro PISA_IFE(). Unfortunately, PISA_IFEL() is not unused... Modified: trunk/libpisa/util.h Modified: trunk/libpisa/util.h ============================================================================== --- trunk/libpisa/util.h Thu Nov 26 15:11:09 2009 (r1807) +++ trunk/libpisa/util.h Thu Nov 26 15:11:39 2009 (r1808) @@ -27,23 +27,6 @@ * * @param func Nonzero, if failure. * @param eval Set variable called 'err' to this value. - */ -#define PISA_IFE(func, eval) \ -{ \ - if (func) { \ - err = eval; \ - goto out_err; \ - } \ -} - -/** - * Use this macro to detect failures and exit function in case - * of such. Variable 'err' must be defined, usually type int. - * Label 'out_err' must be defined, on errors this label is used - * as destination after proper actions. - * - * @param func Nonzero, if failure. - * @param eval Set variable called 'err' to this value. * @param args Arguments for PISA_ERROR(), use like with printf(). */ #define PISA_IFEL(func, eval, args...) \