Skip to content

Commit

Permalink
fixup! fixup! wip
Browse files Browse the repository at this point in the history
  • Loading branch information
slobodan-ilic committed Jun 4, 2024
1 parent 8b453bd commit 2ee8be0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/spss/readstat_sav_read.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,7 @@ static readstat_error_t parse_mr_counted_value(const char *line, mr_set_t *resul
if (result->type == 'D') {
result->is_dichotomy = 1;
const char *digit_start = line;
while (*line != ' ' && *line != '\0') {
line++;
}
while (*line != ' ' && *line != '\0') line++;
int internal_count = (int)strtol(digit_start, NULL, 10);
if (*line != ' ') {
retval = READSTAT_ERROR_BAD_MR_STRING;
Expand Down

0 comments on commit 2ee8be0

Please sign in to comment.