Skip to content

Commit

Permalink
s/_MIN_CAP/MIN_CAP/
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdrake committed Jun 1, 2015
1 parent aa45db3 commit 41a763c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extension/boolexpr/vector.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "boolexpr.h"


#define _MIN_CAP 64
#define MIN_CAP 64


struct BoolExprVector *
Expand All @@ -23,8 +23,8 @@ BoolExprVector_New()
return NULL; // LCOV_EXCL_LINE

vec->length = 0;
vec->capacity = _MIN_CAP;
vec->items = malloc(_MIN_CAP * sizeof(struct BoolExpr *));
vec->capacity = MIN_CAP;
vec->items = malloc(MIN_CAP * sizeof(struct BoolExpr *));
if (vec->items == NULL) {
free(vec); // LCOV_EXCL_LINE
return NULL; // LCOV_EXCL_LINE
Expand Down

0 comments on commit 41a763c

Please sign in to comment.