Skip to content
Snippets Groups Projects
Commit 235eff04 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Applied code formatting tool

parent 3897416c
No related branches found
No related tags found
1 merge request!1091Parser should store from section:name:value when saving not section:name: value
......@@ -570,7 +570,7 @@ static void parse_section_param(char *line, int *isFirstParam,
static void save_param_##PREFIX(struct swift_params *params, \
const char *name, TYPE value) { \
char str[PARSER_MAX_LINE_SIZE]; \
sprintf(str, "%s:" FMT, name, value); \
sprintf(str, "%s:" FMT, name, value); \
parser_set_param(params, str); \
params->data[params->paramCount - 1].used = 1; \
params->data[params->paramCount - 1].is_default = 0; \
......
......@@ -208,7 +208,6 @@ int main(int argc, char *argv[]) {
assert(haveoptwords1 == 0);
assert(haveoptwords2 == 1);
/* Issue 681, parser_get_opt_param_string returns same value. */
char run_name_1[80];
char run_name_2[80];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment