Skip to content
Snippets Groups Projects

Remove the C++ compilation warnings part1 #3

Merged Gábor Szalai requested to merge warning_fix1 into master
4 files
+ 45
65
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -241,7 +241,7 @@ INTEGER EPTF__CLL__Base__Functions::f__EPTF__Base__executeShell(const CHARSTRING
@@ -241,7 +241,7 @@ INTEGER EPTF__CLL__Base__Functions::f__EPTF__Base__executeShell(const CHARSTRING
// print error message here:
// print error message here:
fprintf(stderr,"f_EPTF_Base_executeShell: Failed to start the command %s",(const char*)cmd);
fprintf(stderr,"f_EPTF_Base_executeShell: Failed to start the command %s",(const char*)cmd);
fflush(stderr);
fflush(stderr);
argv[0]="false";
argv[0]=strdup("false");
argv[1]=NULL;
argv[1]=NULL;
if(execvp(argv[0],argv)< 0) {
if(execvp(argv[0],argv)< 0) {
// this should be never reached
// this should be never reached
@@ -510,7 +510,7 @@ EPTF__CLL__Common__Definitions::EPTF__CharstringList EPTF__CLL__Base__Functions:
@@ -510,7 +510,7 @@ EPTF__CLL__Common__Definitions::EPTF__CharstringList EPTF__CLL__Base__Functions:
}
}
} while(pid > 1); // pid 1 is [init], that is the top of the tree.
} while(pid > 1); // pid 1 is [init], that is the top of the tree.
TTCN_Logger::log(TTCN_Logger::TTCN_DEBUG, CHARSTRING("f__EPTF__Base__getEffectiveCmdline: Reached the end, returning with failover."));
TTCN_Logger::log(TTCN_Logger::TTCN_DEBUG, "f__EPTF__Base__getEffectiveCmdline: Reached the end, returning with failover.");
return retVal; // default if expect-ed parent not found.
return retVal; // default if expect-ed parent not found.
}
}
Loading