Skip to content

Commit ca71f57

Browse files
committed
utils: vector: Cleanup whitespace
1 parent c24d29a commit ca71f57

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/utils/vector.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
*/
1616
struct parserutils_vector
1717
{
18-
size_t item_size; /**< Size of an item in the vector */
19-
size_t chunk_size; /**< Size of a vector chunk */
20-
size_t items_allocated; /**< Number of slots allocated */
21-
int32_t current_item; /**< Index of current item */
22-
void *items; /**< Items in vector */
18+
size_t item_size; /**< Size of an item in the vector */
19+
size_t chunk_size; /**< Size of a vector chunk */
20+
size_t items_allocated; /**< Number of slots allocated */
21+
int32_t current_item; /**< Index of current item */
22+
void *items; /**< Items in vector */
2323
};
2424

2525
/**
@@ -175,15 +175,15 @@ parserutils_error parserutils_vector_remove_last(parserutils_vector *vector)
175175
parserutils_error parserutils_vector_get_length(parserutils_vector *vector,
176176
size_t *length)
177177
{
178-
if (vector == NULL)
179-
return PARSERUTILS_BADPARM;
180-
181-
if (length == NULL)
182-
return PARSERUTILS_BADPARM;
183-
184-
*length = vector->current_item + 1;
185-
186-
return PARSERUTILS_OK;
178+
if (vector == NULL)
179+
return PARSERUTILS_BADPARM;
180+
181+
if (length == NULL)
182+
return PARSERUTILS_BADPARM;
183+
184+
*length = vector->current_item + 1;
185+
186+
return PARSERUTILS_OK;
187187
}
188188

189189
/**

0 commit comments

Comments
 (0)