Skip to content

Commit

Permalink
Bumped cppcheck version to 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
matt335672 committed Jul 5, 2021
1 parent e7fdb45 commit 2d3c40b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
CC: gcc
# This is required to use a version of cppcheck other than that
# supplied with the operating system
CPPCHECK_VER: 2.4
CPPCHECK_VER: 2.5
CPPCHECK_REPO: https://github.com/danmar/cppcheck.git
steps:
# This is currently the only way to get a version into
Expand Down
2 changes: 2 additions & 0 deletions tcutils/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ typedef struct stream
char *data; /* holds stream data */
char *pos; /* current read/write position */
int size; /* number of bytes in data */

stream() : data(0), pos(0), size(0) {}
} STREAM;

#define qstream_new(_s, _size) \
Expand Down

0 comments on commit 2d3c40b

Please sign in to comment.