mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: ignore return value
This commit is contained in:
@ -321,7 +321,7 @@ endOfSection {space}")"{space}
|
||||
pointGroupEndIndex.append(strtol(endPtr, &endPtr, 16) - 1);
|
||||
|
||||
// point group type skipped
|
||||
strtol(endPtr, &endPtr, 16);
|
||||
(void)strtol(endPtr, &endPtr, 16);
|
||||
|
||||
pointi = pointGroupStartIndex.last();
|
||||
|
||||
@ -435,7 +435,7 @@ endOfSection {space}")"{space}
|
||||
faceGroupEndIndex.append(strtol(endPtr, &endPtr, 16) - 1);
|
||||
|
||||
// face group type
|
||||
strtol(endPtr, &endPtr, 16);
|
||||
(void)strtol(endPtr, &endPtr, 16);
|
||||
|
||||
faceGroupElementType = strtol(endPtr, &endPtr, 16);
|
||||
|
||||
@ -583,7 +583,7 @@ endOfSection {space}")"{space}
|
||||
cellGroupType.append(strtol(endPtr, &endPtr, 16));
|
||||
|
||||
// Note. Potentially skip cell set if type is zero.
|
||||
strtol(endPtr, &endPtr, 16);
|
||||
(void)strtol(endPtr, &endPtr, 16);
|
||||
|
||||
Info<< "CellGroup: "
|
||||
<< cellGroupZoneID.last()
|
||||
|
||||
@ -1171,7 +1171,11 @@ int main(int argc, char *argv[])
|
||||
+ "_"
|
||||
+ procFile.name()
|
||||
);
|
||||
system(cmd.c_str());
|
||||
if (system(cmd.c_str()) == -1)
|
||||
{
|
||||
WarningIn(args.executable())
|
||||
<< "Could not execute command " << cmd << endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user