Navigation Menu

Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 7, 2015
1 parent eeb0eb5 commit 693cd1e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/expr.c
Expand Up @@ -430,17 +430,6 @@ typedef struct {
(e)->code0 = NULL;\
} while (0)

grn_expr_dfi *
dfi_value_at(grn_expr *expr, int offset)
{
grn_obj *obj = &expr->dfi;
int size = GRN_BULK_VSIZE(obj) / sizeof(grn_expr_dfi);
if (offset < 0) { offset = size + offset; }
return (0 <= offset && offset < size)
? &(((grn_expr_dfi *)GRN_BULK_HEAD(obj))[offset])
: NULL;
}

grn_obj *
grn_expr_create(grn_ctx *ctx, const char *name, unsigned int name_size)
{
Expand Down

0 comments on commit 693cd1e

Please sign in to comment.