[PR #234] [CLOSED] Handle (or explicitly ignore) write errors #447

Closed
opened 2026-05-05 12:16:07 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jmcnamara/libxlsxwriter/pull/234
Author: @sjmulder
Created: 6/12/2019
Status: Closed

Base: masterHead: pr/fwrite-errors


📝 Commits (1)

  • 4f11bcc Handle (or explicitly ignore) write errors

📊 Changes

1 file changed (+8 additions, -2 deletions)

View changed files

📝 src/worksheet.c (+8 -2)

📄 Description

Addressing these warnings on CentOS 6:

worksheet.c: In function '_worksheet_write_optimized_sheet_data':
worksheet.c:1510: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
worksheet.c: In function 'worksheet_insert_image_buffer_opt':
worksheet.c:5632: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jmcnamara/libxlsxwriter/pull/234 **Author:** [@sjmulder](https://github.com/sjmulder) **Created:** 6/12/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `pr/fwrite-errors` --- ### 📝 Commits (1) - [`4f11bcc`](https://github.com/jmcnamara/libxlsxwriter/commit/4f11bcca412ecc1ef1b613bf770fa243773bb28b) Handle (or explicitly ignore) write errors ### 📊 Changes **1 file changed** (+8 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/worksheet.c` (+8 -2) </details> ### 📄 Description Addressing these warnings on CentOS 6: worksheet.c: In function '_worksheet_write_optimized_sheet_data': worksheet.c:1510: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result worksheet.c: In function 'worksheet_insert_image_buffer_opt': worksheet.c:5632: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 12:16:08 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#447
No description provided.