Skip to content

Small typo in GenerateTreeFromFile() - #1

Open
Enumer8 wants to merge 1 commit into
MichaelDipperstein:masterfrom
Enumer8:master
Open

Small typo in GenerateTreeFromFile()#1
Enumer8 wants to merge 1 commit into
MichaelDipperstein:masterfrom
Enumer8:master

Conversation

@Enumer8

@Enumer8 Enumer8 commented Feb 7, 2022

Copy link
Copy Markdown

Hi,

I found what I think is a small typo in GenerateTreeFromFile() while reviewing your repo. I noticed you looped on EOF (a constant that equals -1). I believe you meant to put EOF_CHAR there.

It might allow you to simplify the if condition in FindMinimumCount(), since you probably would not need to check for NULL and the ignore field, but I didn't look into if that would work.

Fixed a small typo in GenerateTreeFromFile()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant