[PR #1269] [FIX] -Wunused-result warnings #2059

Closed
opened 2026-01-29 17:20:04 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1269

State: closed
Merged: Yes


In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

My familiarity with the project is as follows (check one):

  • I am an active contributor to CCExtractor.

Remove -Wunused-result warnings. The main reason to do this is that contributors aren't flooded with warnings which cause them to ignore them.

output diff:

244,307d243
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘_dtvcc_write_row’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:194:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   194 |   write(fd, encoded_buf_start, encoded_buf - encoded_buf_start);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:200:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   200 |   write(fd, buf, buf_len);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘ccx_dtvcc_write_srt’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:224:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   224 |  write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, strlen(buf));
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:231:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   231 |    write(encoder->dtvcc_writers[tv->service_number - 1].fd,
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<   232 |          encoder->encoded_crlf, encoder->encoded_crlf_length);
<       |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:235:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   235 |  write(encoder->dtvcc_writers[tv->service_number - 1].fd,
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<   236 |        encoder->encoded_crlf, encoder->encoded_crlf_length);
<       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘ccx_dtvcc_write_transcript’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:293:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   293 |     write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, strlen(buf));
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:296:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   296 |    write(encoder->dtvcc_writers[tv->service_number - 1].fd,
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<   297 |          encoder->encoded_crlf, encoder->encoded_crlf_length);
<       |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘_dtvcc_write_sami_header’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:324:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   324 |  write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, buf_len);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘_dtvcc_write_sami_footer’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:331:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   331 |  write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, strlen(buf));
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:332:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   332 |  write(encoder->dtvcc_writers[tv->service_number - 1].fd,
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<   333 |        encoder->encoded_crlf, encoder->encoded_crlf_length);
<       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘ccx_dtvcc_write_sami’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:354:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   354 |  write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, strlen(buf));
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:361:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   361 |    write(encoder->dtvcc_writers[tv->service_number - 1].fd,
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<   362 |          encoder->encoded_br, encoder->encoded_br_length);
<       |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:363:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   363 |    write(encoder->dtvcc_writers[tv->service_number - 1].fd,
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<   364 |          encoder->encoded_crlf, encoder->encoded_crlf_length);
<       |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:371:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   371 |  write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, strlen(buf));
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘ccx_dtvcc_writer_output’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:491:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   491 |    write(writer->fd, UTF8_BOM, sizeof(UTF8_BOM));
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
325,346d260
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c: In function ‘write_cc_buffer_as_g608’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:19:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    19 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:24:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    24 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:28:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    28 |   write(context->out->fh, context->subline, length);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:31:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    31 |   write(context->out->fh, context->subline, length);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:34:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    34 |   write(context->out->fh, context->subline, length);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:35:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    35 |   write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:38:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    38 |  write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349,356d262
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_mcc.c: In function ‘mcc_encode_cc_data’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_mcc.c:159:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   159 |  write(enc_ctx->out->fh, compressed_data_buffer, strlen(compressed_data_buffer));
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_mcc.c: In function ‘write_string’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_mcc.c:724:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   724 |  write(fh, string, strlen(string));
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
359,396d264
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c: In function ‘write_cc_bitmap_as_sami’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:135:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   135 |   write(context->out->fh, buf, strlen(buf));
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:145:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   145 |      write(context->out->fh, buf, strlen(buf));
<       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:147:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   147 |       write(context->out->fh, context->encoded_br, context->encoded_br_length);
<       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:148:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   148 |      write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:153:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   153 |   write(context->out->fh, buf, strlen(buf));
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:159:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   159 |   write(context->out->fh, buf, strlen(buf));
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c: In function ‘write_cc_buffer_as_sami’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:207:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   207 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:218:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   218 |    write(context->out->fh, context->subline, length);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:221:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   221 |     write(context->out->fh, context->encoded_br, context->encoded_br_length);
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:222:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   222 |    write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:231:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   231 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:240:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   240 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
398,425d265
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c: In function ‘add_padding’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:422:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   422 |   write(fd, "_", 1);
<       |   ^~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:426:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   426 |   write(fd, "80", 2); // 0x80 == odd_parity(0x00)
<       |   ^~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c: In function ‘write_character’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:443:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   443 |   write(fd, &character, 1);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:448:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   448 |    write(fd, " ", 1);
<       |    ^~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c: In function ‘write_control_code’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:469:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   469 |   write(fd, assembly_code, length);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:474:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   474 |    write(fd, " ", 1);
<       |    ^~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c: In function ‘add_timestamp’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:523:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   523 |  write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:525:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   525 |   write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
427,468d266
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c: In function ‘write_stringz_as_smptett’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:56:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    56 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:83:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    83 |   write(context->out->fh, el, u);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:86:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    86 |   write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:96:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    96 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:103:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   103 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c: In function ‘write_cc_bitmap_as_smptett’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:137:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   137 |     write(context->out->fh, buf, strlen(buf));
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:139:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   139 |     write(context->out->fh, rect[i].ocr_text, len);
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:140:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   140 |     write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:142:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   142 |     write(context->out->fh, buf, strlen(buf));
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c: In function ‘write_cc_buffer_as_smptett’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:234:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   234 |     write(context->out->fh, context->buffer, used);
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:391:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   391 |     write(context->out->fh, final, strlen(final));
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:393:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   393 |     write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:402:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   402 |     write(context->out->fh, context->buffer, used);
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
472,519d269
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c: In function ‘write_stringz_as_srt’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:26:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    26 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:33:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    33 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:67:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    67 |   write(context->out->fh, el, u);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:68:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    68 |   write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:74:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    74 |  write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c: In function ‘write_cc_bitmap_as_srt’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:117:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   117 |     write(context->out->fh, context->buffer, used);
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:121:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   121 |     write(context->out->fh, context->buffer, used);
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:123:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   123 |     write(context->out->fh, str, len);
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:124:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   124 |     write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c: In function ‘write_cc_buffer_as_srt’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:201:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   201 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:206:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   206 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:265:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   265 |      write(context->out->fh, "- ", 2);
<       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:277:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   277 |    write(context->out->fh, context->subline, length);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:278:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   278 |    write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:286:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   286 |  write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
521,559d270
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c: In function ‘write_stringz_as_ssa’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:27:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    27 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:61:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    61 |   write(context->out->fh, el, u);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:62:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    62 |   write(context->out->fh, "\\N", 2);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:68:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    68 |  write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c: In function ‘write_cc_bitmap_as_ssa’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:116:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   116 |    write(context->out->fh, context->buffer, used);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:117:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   117 |    write(context->out->fh, str, len);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:118:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   118 |    write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c: In function ‘write_cc_buffer_as_ssa’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:191:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   191 |  write(context->out->fh, context->buffer, used);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:247:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   247 |      write(context->out->fh, "- ", 2);
<       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:261:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   261 |     write(context->out->fh, "\\N", 2);
<       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:263:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   263 |    write(context->out->fh, context->subline, length);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:271:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   271 |  write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
561,564d271
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_transcript.c: In function ‘write_cc_bitmap_as_transcript’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_transcript.c:99:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<    99 |    write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
566,597d272
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c: In function ‘write_webvtt_header’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:225:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   225 |   write(context->out->fh, context->buffer, used);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:245:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   245 |   write(context->out->fh, outline_css_file, strlen(outline_css_file));
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:249:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   249 |   write(context->out->fh, webvtt_inline_css, strlen(webvtt_inline_css));
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:252:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   252 |    write(context->out->fh, "\n", 1);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:256:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   256 |    write(context->out->fh, "\r\n", 2);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:258:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   258 |   write(context->out->fh, "##\n", 3);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:259:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   259 |   write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c: In function ‘write_cc_bitmap_as_webvtt’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:297:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   297 |    write(context->out->fh, context->buffer, used);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:299:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   299 |    write(context->out->fh, str, len);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:300:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   300 |    write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
599,630c274,278
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:470:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   470 |        write(context->out->fh, strdup("<i>"), 3);
<       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:472:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   472 |        write(context->out->fh, strdup("<u>"), 3);
<       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:479:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   479 |       write(context->out->fh, strdup("<c."), 3);
<       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:480:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   480 |       write(context->out->fh, color_text[open_color][0], strlen(color_text[open_color][0]));
<       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:481:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   481 |       write(context->out->fh, ">", 1);
<       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:487:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   487 |      write(context->out->fh, &(context->subline[j]), 1);
<       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:495:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   495 |       write(context->out->fh, strdup("</c>"), 4);
<       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:503:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   503 |        write(context->out->fh, strdup("</i>"), 4);
<       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:505:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<   505 |        write(context->out->fh, strdup("</u>"), 4);
<       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
670,673d317
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/file_functions.c: In function ‘buffered_read_opt’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/file_functions.c:463:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
<   463 |      read(ctx->infd, &c, 1);
<       |      ^~~~~~~~~~~~~~~~~~~~~~
682,780d325
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c: In function ‘read_byte_block’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:28:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
<    28 |  fread(buffer, 1, (size_t)n, file);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c: In function ‘read_bytes_signed’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:35:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
<    35 |  fread(buffer, 1, (size_t)n, file);
<       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c: In function ‘save_sub_track’:
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1112:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1112 |   write(desc, track->header, strlen(track->header));
<       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1121:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1121 |    write(desc, "\n\n", 2);
<       |    ^~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1130:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1130 |      write(desc, sentence->blockaddition->comment, sentence->blockaddition->comment_size);
<       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1131:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1131 |      write(desc, "\n", 1);
<       |      ^~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1140:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1140 |      write(desc, blockaddition->cue_identifier, blockaddition->cue_identifier_size);
<       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1141:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1141 |      write(desc, "\n", 1);
<       |      ^~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1145:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1145 |      write(desc, "\n", 1);
<       |      ^~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1158:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1158 |    write(desc, timestamp_start, strlen(timestamp_start));
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1159:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1159 |    write(desc, " --> ", 5);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1160:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1160 |    write(desc, timestamp_end, strlen(timestamp_start));
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1167:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1167 |      write(desc, " ", 1);
<       |      ^~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1168:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1168 |      write(desc, blockaddition->cue_settings_list, blockaddition->cue_settings_list_size);
<       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1171:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1171 |    write(desc, "\n", 1);
<       |    ^~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1176:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1176 |    write(desc, sentence->text + size, sentence->text_size - size);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1193:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1193 |    write(desc, number, strlen(number));
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1194:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1194 |    write(desc, "\n", 1);
<       |    ^~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1195:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1195 |    write(desc, timestamp_start, strlen(timestamp_start));
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1196:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1196 |    write(desc, " --> ", 5);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1197:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1197 |    write(desc, timestamp_end, strlen(timestamp_start));
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1198:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1198 |    write(desc, "\n", 1);
<       |    ^~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1202:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1202 |    write(desc, sentence->text + size, sentence->text_size - size);
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1206:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1206 |     write(desc, "\n", 1);
<       |     ^~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1210:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1210 |     write(desc, "\n\n", 2);
<       |     ^~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1224:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1224 |    write(desc, "Dialogue: Marked=0,", strlen("Dialogue: Marked=0,"));
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1225:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1225 |    write(desc, timestamp_start, strlen(timestamp_start));
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1226:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1226 |    write(desc, ",", 1);
<       |    ^~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1227:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1227 |    write(desc, timestamp_end, strlen(timestamp_start));
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1228:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1228 |    write(desc, ",", 1);
<       |    ^~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1232:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1232 |    write(desc, text, strlen(text));
<       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1233:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
<  1233 |    write(desc, "\n", 1);
<       |    ^~~~~~~~~~~~~~~~~~~~
**Original Pull Request:** https://github.com/CCExtractor/ccextractor/pull/1269 **State:** closed **Merged:** Yes --- **In raising this pull request, I confirm the following (please check boxes):** - [X] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [X] I have checked that another pull request for this purpose does not exist. - [X] I have considered, and confirmed that this submission will be valuable to others. - [X] I accept that this submission may not be used, and the pull request closed at the will of the maintainer. - [X] I give this submission freely, and claim no ownership to its content. **My familiarity with the project is as follows (check one):** - [X] I am an active contributor to CCExtractor. --- Remove -Wunused-result warnings. The main reason to do this is that contributors aren't flooded with warnings which cause them to ignore them. output diff: ```diff 244,307d243 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘_dtvcc_write_row’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:194:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 194 | write(fd, encoded_buf_start, encoded_buf - encoded_buf_start); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:200:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 200 | write(fd, buf, buf_len); < | ^~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘ccx_dtvcc_write_srt’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:224:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 224 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, strlen(buf)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:231:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 231 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < 232 | encoder->encoded_crlf, encoder->encoded_crlf_length); < | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:235:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 235 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < 236 | encoder->encoded_crlf, encoder->encoded_crlf_length); < | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘ccx_dtvcc_write_transcript’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:293:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 293 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, strlen(buf)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:296:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 296 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < 297 | encoder->encoded_crlf, encoder->encoded_crlf_length); < | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘_dtvcc_write_sami_header’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:324:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 324 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, buf_len); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘_dtvcc_write_sami_footer’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:331:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 331 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, strlen(buf)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:332:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 332 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < 333 | encoder->encoded_crlf, encoder->encoded_crlf_length); < | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘ccx_dtvcc_write_sami’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:354:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 354 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, strlen(buf)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:361:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 361 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < 362 | encoder->encoded_br, encoder->encoded_br_length); < | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:363:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 363 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < 364 | encoder->encoded_crlf, encoder->encoded_crlf_length); < | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:371:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 371 | write(encoder->dtvcc_writers[tv->service_number - 1].fd, buf, strlen(buf)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c: In function ‘ccx_dtvcc_writer_output’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_decoders_708_output.c:491:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 491 | write(writer->fd, UTF8_BOM, sizeof(UTF8_BOM)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 325,346d260 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c: In function ‘write_cc_buffer_as_g608’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:19:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 19 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:24:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 24 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:28:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 28 | write(context->out->fh, context->subline, length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:31:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 31 | write(context->out->fh, context->subline, length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:34:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 34 | write(context->out->fh, context->subline, length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:35:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 35 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_g608.c:38:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 38 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349,356d262 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_mcc.c: In function ‘mcc_encode_cc_data’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_mcc.c:159:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 159 | write(enc_ctx->out->fh, compressed_data_buffer, strlen(compressed_data_buffer)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_mcc.c: In function ‘write_string’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_mcc.c:724:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 724 | write(fh, string, strlen(string)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 359,396d264 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c: In function ‘write_cc_bitmap_as_sami’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:135:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 135 | write(context->out->fh, buf, strlen(buf)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:145:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 145 | write(context->out->fh, buf, strlen(buf)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:147:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 147 | write(context->out->fh, context->encoded_br, context->encoded_br_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:148:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 148 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:153:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 153 | write(context->out->fh, buf, strlen(buf)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:159:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 159 | write(context->out->fh, buf, strlen(buf)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c: In function ‘write_cc_buffer_as_sami’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:207:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 207 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:218:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 218 | write(context->out->fh, context->subline, length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:221:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 221 | write(context->out->fh, context->encoded_br, context->encoded_br_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:222:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 222 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:231:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 231 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_sami.c:240:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 240 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 398,425d265 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c: In function ‘add_padding’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:422:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 422 | write(fd, "_", 1); < | ^~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:426:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 426 | write(fd, "80", 2); // 0x80 == odd_parity(0x00) < | ^~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c: In function ‘write_character’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:443:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 443 | write(fd, &character, 1); < | ^~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:448:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 448 | write(fd, " ", 1); < | ^~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c: In function ‘write_control_code’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:469:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 469 | write(fd, assembly_code, length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:474:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 474 | write(fd, " ", 1); < | ^~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c: In function ‘add_timestamp’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:523:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 523 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_scc.c:525:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 525 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 427,468d266 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c: In function ‘write_stringz_as_smptett’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:56:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 56 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:83:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 83 | write(context->out->fh, el, u); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:86:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 86 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:96:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 96 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:103:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 103 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c: In function ‘write_cc_bitmap_as_smptett’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:137:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 137 | write(context->out->fh, buf, strlen(buf)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:139:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 139 | write(context->out->fh, rect[i].ocr_text, len); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:140:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 140 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:142:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 142 | write(context->out->fh, buf, strlen(buf)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c: In function ‘write_cc_buffer_as_smptett’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:234:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 234 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:391:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 391 | write(context->out->fh, final, strlen(final)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:393:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 393 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:402:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 402 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 472,519d269 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c: In function ‘write_stringz_as_srt’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:26:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 26 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:33:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 33 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:67:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 67 | write(context->out->fh, el, u); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:68:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 68 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:74:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 74 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c: In function ‘write_cc_bitmap_as_srt’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:117:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 117 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:121:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 121 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:123:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 123 | write(context->out->fh, str, len); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:124:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 124 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c: In function ‘write_cc_buffer_as_srt’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:201:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 201 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:206:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 206 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:265:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 265 | write(context->out->fh, "- ", 2); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:277:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 277 | write(context->out->fh, context->subline, length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:278:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 278 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_srt.c:286:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 286 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 521,559d270 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c: In function ‘write_stringz_as_ssa’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:27:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 27 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:61:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 61 | write(context->out->fh, el, u); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:62:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 62 | write(context->out->fh, "\\N", 2); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:68:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 68 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c: In function ‘write_cc_bitmap_as_ssa’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:116:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 116 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:117:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 117 | write(context->out->fh, str, len); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:118:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 118 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c: In function ‘write_cc_buffer_as_ssa’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:191:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 191 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:247:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 247 | write(context->out->fh, "- ", 2); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:261:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 261 | write(context->out->fh, "\\N", 2); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:263:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 263 | write(context->out->fh, context->subline, length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_ssa.c:271:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 271 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 561,564d271 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_transcript.c: In function ‘write_cc_bitmap_as_transcript’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_transcript.c:99:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 99 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 566,597d272 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c: In function ‘write_webvtt_header’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:225:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 225 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:245:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 245 | write(context->out->fh, outline_css_file, strlen(outline_css_file)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:249:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 249 | write(context->out->fh, webvtt_inline_css, strlen(webvtt_inline_css)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:252:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 252 | write(context->out->fh, "\n", 1); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:256:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 256 | write(context->out->fh, "\r\n", 2); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:258:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 258 | write(context->out->fh, "##\n", 3); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:259:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 259 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c: In function ‘write_cc_bitmap_as_webvtt’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:297:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 297 | write(context->out->fh, context->buffer, used); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:299:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 299 | write(context->out->fh, str, len); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:300:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 300 | write(context->out->fh, context->encoded_crlf, context->encoded_crlf_length); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 599,630c274,278 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:470:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 470 | write(context->out->fh, strdup("<i>"), 3); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:472:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 472 | write(context->out->fh, strdup("<u>"), 3); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:479:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 479 | write(context->out->fh, strdup("<c."), 3); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:480:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 480 | write(context->out->fh, color_text[open_color][0], strlen(color_text[open_color][0])); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:481:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 481 | write(context->out->fh, ">", 1); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:487:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 487 | write(context->out->fh, &(context->subline[j]), 1); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:495:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 495 | write(context->out->fh, strdup("</c>"), 4); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:503:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 503 | write(context->out->fh, strdup("</i>"), 4); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/ccx_encoders_webvtt.c:505:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 505 | write(context->out->fh, strdup("</u>"), 4); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 670,673d317 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/file_functions.c: In function ‘buffered_read_opt’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/file_functions.c:463:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] < 463 | read(ctx->infd, &c, 1); < | ^~~~~~~~~~~~~~~~~~~~~~ 682,780d325 < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c: In function ‘read_byte_block’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:28:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] < 28 | fread(buffer, 1, (size_t)n, file); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c: In function ‘read_bytes_signed’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:35:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] < 35 | fread(buffer, 1, (size_t)n, file); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c: In function ‘save_sub_track’: < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1112:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1112 | write(desc, track->header, strlen(track->header)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1121:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1121 | write(desc, "\n\n", 2); < | ^~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1130:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1130 | write(desc, sentence->blockaddition->comment, sentence->blockaddition->comment_size); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1131:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1131 | write(desc, "\n", 1); < | ^~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1140:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1140 | write(desc, blockaddition->cue_identifier, blockaddition->cue_identifier_size); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1141:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1141 | write(desc, "\n", 1); < | ^~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1145:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1145 | write(desc, "\n", 1); < | ^~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1158:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1158 | write(desc, timestamp_start, strlen(timestamp_start)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1159:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1159 | write(desc, " --> ", 5); < | ^~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1160:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1160 | write(desc, timestamp_end, strlen(timestamp_start)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1167:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1167 | write(desc, " ", 1); < | ^~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1168:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1168 | write(desc, blockaddition->cue_settings_list, blockaddition->cue_settings_list_size); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1171:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1171 | write(desc, "\n", 1); < | ^~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1176:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1176 | write(desc, sentence->text + size, sentence->text_size - size); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1193:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1193 | write(desc, number, strlen(number)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1194:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1194 | write(desc, "\n", 1); < | ^~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1195:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1195 | write(desc, timestamp_start, strlen(timestamp_start)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1196:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1196 | write(desc, " --> ", 5); < | ^~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1197:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1197 | write(desc, timestamp_end, strlen(timestamp_start)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1198:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1198 | write(desc, "\n", 1); < | ^~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1202:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1202 | write(desc, sentence->text + size, sentence->text_size - size); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1206:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1206 | write(desc, "\n", 1); < | ^~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1210:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1210 | write(desc, "\n\n", 2); < | ^~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1224:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1224 | write(desc, "Dialogue: Marked=0,", strlen("Dialogue: Marked=0,")); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1225:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1225 | write(desc, timestamp_start, strlen(timestamp_start)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1226:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1226 | write(desc, ",", 1); < | ^~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1227:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1227 | write(desc, timestamp_end, strlen(timestamp_start)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1228:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1228 | write(desc, ",", 1); < | ^~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1232:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1232 | write(desc, text, strlen(text)); < | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < /home/nils/Documents/codein2019/ccextractor/src/lib_ccx/matroska.c:1233:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] < 1233 | write(desc, "\n", 1); < | ^~~~~~~~~~~~~~~~~~~~ ```
claunia added the pull-request label 2026-01-29 17:20:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2059