[Groonga-commit] groonga/groonga at 96af006 [master] Remove unused macros

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 21 15:11:53 JST 2014


Kouhei Sutou	2014-02-21 15:11:53 +0900 (Fri, 21 Feb 2014)

  New Revision: 96af006594d461e5e39bf15ae794b74467f3aba5
  https://github.com/groonga/groonga/commit/96af006594d461e5e39bf15ae794b74467f3aba5

  Message:
    Remove unused macros

  Modified files:
    lib/ctx.h

  Modified: lib/ctx.h (+0 -9)
===================================================================
--- lib/ctx.h    2014-02-21 11:58:20 +0900 (b4a3d1b)
+++ lib/ctx.h    2014-02-21 15:11:53 +0900 (86444f4)
@@ -134,15 +134,6 @@ GRN_API void grn_ctx_impl_set_current_error_message(grn_ctx *ctx);
 #define ERRP(ctx,lvl) \
   (((ctx) && ((grn_ctx *)(ctx))->errlvl <= (lvl)) || (grn_gctx.errlvl <= (lvl)))
 
-#define QLERR(...) do {\
-  ERRSET(ctx, GRN_WARN, GRN_INVALID_ARGUMENT, __VA_ARGS__);\
-  return F;\
-} while (0)
-
-#define QLASSERT(expr) do {\
-  if (!(expr)) { QLERR("syntax error"); }\
-} while (0)
-
 #ifdef ERR
 #  undef ERR
 #endif /* ERR */
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index