search for: append_shorthand_operation

Displaying 1 result from an estimated 1 matches for "append_shorthand_operation".

2005 May 25
1
[PATCH] Fix use of uninitialized variable
...ex 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 = find_shorthand_operation(options, OP__ADD_SEEKPOINT); - if(0 == op) - op = ap...