mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:32:59 +00:00
[FREELDR] Don't call twice strlen() implicitly (in the min() macro).
This commit is contained in:
parent
2811d2f990
commit
5b326e74cd
1 changed files with 2 additions and 1 deletions
|
@ -248,7 +248,8 @@ LinuxParseIniSection(
|
||||||
if (LinuxCommandLine)
|
if (LinuxCommandLine)
|
||||||
{
|
{
|
||||||
RemoveQuotes(LinuxCommandLine);
|
RemoveQuotes(LinuxCommandLine);
|
||||||
LinuxCommandLineSize = min(strlen(LinuxCommandLine) + 1, 260);
|
LinuxCommandLineSize = (ULONG)strlen(LinuxCommandLine) + 1;
|
||||||
|
LinuxCommandLineSize = min(LinuxCommandLineSize, 260);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue