Skip to content

Commit

Permalink
remove unnecessary plus operator
Browse files Browse the repository at this point in the history
  • Loading branch information
lincuiping authored Nov 16, 2021
1 parent 2493809 commit 37d3dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pgut/pgut.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ parse_time(const char *value, time_t *time)
char junk[2];

/* tmp = replace( value, !isalnum, ' ' ) */
tmp = pgut_malloc(strlen(value) + + 1);
tmp = pgut_malloc(strlen(value) + 1);
len = 0;
for (i = 0; value[i]; i++)
tmp[len++] = (IsAlnum(value[i]) ? value[i] : ' ');
Expand Down

0 comments on commit 37d3dba

Please sign in to comment.