Skip to content

Commit

Permalink
Remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
linas committed Mar 27, 2024
1 parent d96da4d commit 6ae4e10
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions link-grammar/tokenize/anysplit.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,10 @@ static int split(int word_length, int nparts, split_cache *scl)
*/
static int rng_uniform(unsigned int *seedp, size_t nsplits)
{
int res;

res = rand_r(seedp);
int res = rand_r(seedp);

/* I don't mind the slight skew */
return res % nsplits;

}

/**
Expand Down

0 comments on commit 6ae4e10

Please sign in to comment.