Displaying 1 result from an estimated 1 matches for "find_shorthand_operation".
2005 May 25
1
[PATCH] Fix use of uninitialized variable
...:42.000000000 +0200
@@ -555,13 +555,14 @@ FLAC__bool parse_option(int option_index
FLAC__ASSERT(0 != violation);
fprintf(stderr, "ERROR (--%s): malformed seekpoint specification \"%s\",\n %s\n", opt, option_argument, violation);
ok = false;
+ } else {
+ op = find_shorthand_operation(options, OP__ADD_SEEKPOINT);
+ if(0 == op)
+ op = append_shorthand_operation(options, OP__ADD_SEEKPOINT);
+ local_strcat(&(op->argument.add_seekpoint.specification), spec);
+ local_strcat(&(op->argument.add_seekpoint.specification), ";");
+ free(spec);
}
- op...