Skip to content

Comments

code optimization#9

Open
IvanoBono wants to merge 2 commits intoabbrev:masterfrom
IvanoBono:master
Open

code optimization#9
IvanoBono wants to merge 2 commits intoabbrev:masterfrom
IvanoBono:master

Conversation

@IvanoBono
Copy link

removed duplicate condition (line 5050)
removed 3 unused increment in functions (line 651-676)

IvanoBono added 2 commits July 7, 2021 08:45
removed duplicate condition (line 5050)
removed 3 unused increment in functions (line 651-676)
minor change to avoid compiler warning
fs->wflag = 1;
}
if (res == FR_OK) {
//removed duplicate condition (res == FR_OK)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for comment here.

Suggested change
//removed duplicate condition (res == FR_OK)

}
if (res == FR_OK) {
//removed duplicate condition (res == FR_OK)
res = sync_fs(fs);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation.

Suggested change
res = sync_fs(fs);
res = sync_fs(fs);

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.

2 participants