Skip to content
Snippets Groups Projects
Commit 1b4faa8d authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

fix added cppcheck errors

parent aa6b36a6
No related branches found
No related tags found
4 merge requests!1757Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c,!1493fix DL arq errors in UE,!1177Integration 2021 wk22,!1171[RHEL8][CONTAINER] Runtime check when creating pThreads
...@@ -102,8 +102,8 @@ static int baseRunTimeCommand(char* cmd) { ...@@ -102,8 +102,8 @@ static int baseRunTimeCommand(char* cmd) {
fp = popen(cmd, "r"); fp = popen(cmd, "r");
memset(cmd, 1, 200); memset(cmd, 1, sizeof(*cmd));
retSize = fread(cmd, 1, 200, fp); retSize = fread(cmd, 1, sizeof(*cmd), fp);
fclose(fp); fclose(fp);
if (retSize == 0) { if (retSize == 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment