Skip to content

Commit

Permalink
Cleanup code. (#167)
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel K. Gutierrez <[email protected]>
  • Loading branch information
samuelkgutierrez authored Jun 12, 2024
1 parent ee66bef commit a676215
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/qvi-bbuff.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@
#include "qvi-utils.h"

struct qvi_bbuff_s {
/** Minimum growth in bytes for resizes, etc. */
static constexpr size_t min_growth = 256;
/** Current capacity of buffer. */
size_t capacity = 0;
/** Amount of data already stored. */
size_t size = 0;
/** Pointer to data backing store. */
void *data = nullptr;
/** Buffer constants. */
enum {
/** Minimum growth in bytes for resizes, etc. */
min_growth = 256
} constants;
/** Constructor */
qvi_bbuff_s(void)
{
Expand Down
2 changes: 0 additions & 2 deletions src/qvi-group.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ struct qvi_group_s {
extern "C" {
#endif

// Forward declarations.
struct qvi_group_s;
typedef struct qvi_group_s qvi_group_t;

/** Group ID. */
Expand Down

0 comments on commit a676215

Please sign in to comment.