It's a big red flag. The dev can generate coin anytime as they want and dump it to the market. It can also lead the project to the inflation that will always be pressing the price to go down as soon as possible.
Avoid to deal with the project that has a big red flag like that. it's not worth to touch it. think about that. The legit project never used infinite supply for that.