Skip to content

Commit

Permalink
move comment to related line, thx Michael
Browse files Browse the repository at this point in the history
  • Loading branch information
jangorecki committed Nov 27, 2023
1 parent b8c9dd2 commit bc3e375
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chmatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ static SEXP chmatchMain(SEXP x, SEXP table, int nomatch, bool chin, bool chmatch
// For example: A,B,C,B,D,E,A,A => A(TL=1),B(2),C(3),D(4),E(5) => dupMap 1 2 3 5 6 | 8 7 4
// dupLink 7 8 | 6 (blank=0)
int *counts = (int *)calloc(nuniq, sizeof(int));
unsigned int mapsize = tablelen+nuniq; // lto compilation warning #5760
int *map = (int *)calloc(mapsize, sizeof(int)); // +nuniq to store a 0 at the end of each group
unsigned int mapsize = tablelen+nuniq; // lto compilation warning #5760 // +nuniq to store a 0 at the end of each group
int *map = (int *)calloc(mapsize, sizeof(int));
if (!counts || !map) {
// # nocov start
for (int i=0; i<tablelen; i++) SET_TRUELENGTH(td[i], 0);
Expand Down

0 comments on commit bc3e375

Please sign in to comment.