Skip to content

Commit

Permalink
Remove unused local variables
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Mar 22, 2021
1 parent 58befe6 commit 3281ace
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lwjson/src/lwjson/lwjson.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ prv_alloc_token(lwjson_t* lw) {
*/
static lwjsonr_t
prv_skip_blank(const char** p) {
lwjsonr_t res = lwjsonOK;
const char* s = *p;
while (s != NULL && *s != '\0') {
if (*s == ' ' || *s == '\t' || *s == '\r' || *s == '\n' || *s == '\f') {
Expand Down Expand Up @@ -320,7 +319,6 @@ prv_create_path_segment(const char** p, const char** opath, size_t* olen, uint8_
*/
static const lwjson_token_t*
prv_find(const lwjson_token_t* parent, const char* path) {
lwjson_token_t* token = NULL;
const char* segment;
size_t segment_len;
uint8_t is_last, result;
Expand Down

0 comments on commit 3281ace

Please sign in to comment.