Skip to content

Commit e33db35

Browse files
authored
Update navigation.c
1 parent bcfcd0b commit e33db35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/navigation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ pb_get_by_path_common(PG_FUNCTION_ARGS, bool as_text)
279279
if (lookup.type == PB_TYPE_MESSAGE) {
280280
uint64 len = decode_varint(&ptr, end); const char *next_end = ptr + len;
281281
strncpy(current_msg, lookup.type_name, 511);
282-
ptr = ptr; end = next_end;
282+
end = next_end;
283283
break;
284284
} else {
285285
uint64 val = decode_varint(&ptr, end);

0 commit comments

Comments
 (0)