Skip to content

Commit

Permalink
remove merge markers
Browse files Browse the repository at this point in the history
  • Loading branch information
userwiths committed Jan 14, 2025
1 parent 980ecf6 commit 07dfde0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions common/optparser.c
Original file line number Diff line number Diff line change
Expand Up @@ -931,14 +931,9 @@ struct optstruct *optparse(const char *cfgfile, int argc, char **argv, int verbo
char shortopts[MAXCMDOPTS];
regex_t regex;
long long numarg, lnumarg, lnumlimit;
<<<<<<< HEAD
int regflags = REG_EXTENDED | REG_NOSUB;
const char *inlinecomment = NULL;
char *trim_comment;
=======
int regflags = REG_EXTENDED | REG_NOSUB;
const char* inlinecomment = NULL;
>>>>>>> 8e9d15f37faa16b1f40a8b44c6fa6aa6cc89e206

#ifdef _WIN32
if (!is_initialized) {
Expand Down Expand Up @@ -1191,20 +1186,13 @@ struct optstruct *optparse(const char *cfgfile, int argc, char **argv, int verbo
}
}

<<<<<<< HEAD
numarg = -1;
inlinecomment = strchr(arg, '#');
if (inlinecomment != NULL) {
arg = strtok(arg, "#");
trim_comment = arg + strlen(arg) - 1;
while (trim_comment >= arg && *trim_comment == ' ')
*(trim_comment--) = '\0';
=======
numarg = -1;
inlinecomment = strchr(arg, '#');
if (inlinecomment != NULL) {
arg = strtok(arg, "#");
>>>>>>> 8e9d15f37faa16b1f40a8b44c6fa6aa6cc89e206
}
switch (optentry->argtype) {
case CLOPT_TYPE_STRING:
Expand Down

0 comments on commit 07dfde0

Please sign in to comment.