Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2c4fcd3d authored by BOUCHERIE Raphael's avatar BOUCHERIE Raphael
Browse files

init for opt

parent 2c80f119
No related branches found
No related tags found
1 merge request!53Timing/options
...@@ -551,13 +551,14 @@ set_iparam_default(int *iparam){ ...@@ -551,13 +551,14 @@ set_iparam_default(int *iparam){
void void
parse_arguments(int *_argc, char ***_argv, int *iparam, int *start, int *stop, int*step) parse_arguments(int *_argc, char ***_argv, int *iparam, int *start, int *stop, int*step)
{ {
int opt = 0; int opt = -1;
int c; int c;
int argc = *_argc; int argc = *_argc;
char **argv = *_argv; char **argv = *_argv;
do { do {
#if defined(CHAMELEON_HAVE_GETOPT_LONG) #if defined(CHAMELEON_HAVE_GETOPT_LONG)
opt = -1;
c = getopt_long(argc, argv, GETOPT_STRING, c = getopt_long(argc, argv, GETOPT_STRING,
long_options, &opt); long_options, &opt);
#else #else
......
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