mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 09:20:43 +08:00
[FREELDR] Don't call twice strlen() implicitly (in the min() macro).
This commit is contained in:
@@ -248,7 +248,8 @@ LinuxParseIniSection(
|
||||
if (LinuxCommandLine)
|
||||
{
|
||||
RemoveQuotes(LinuxCommandLine);
|
||||
LinuxCommandLineSize = min(strlen(LinuxCommandLine) + 1, 260);
|
||||
LinuxCommandLineSize = (ULONG)strlen(LinuxCommandLine) + 1;
|
||||
LinuxCommandLineSize = min(LinuxCommandLineSize, 260);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user