chiark / gitweb /
makeindex: check return of fgets
authorMatthew Vernon <matthew@debian.org>
Fri, 7 Nov 2025 11:34:45 +0000 (11:34 +0000)
committerMatthew Vernon <matthew@debian.org>
Fri, 7 Nov 2025 14:35:30 +0000 (14:35 +0000)
commit5a41f0c7d6d5d86132c703a183dd3b0dcb6bd61c
treeda1ee5ed6ce1278cfc40030e340d1ad900873bb1
parentf67d8b6f422332af24710f35675f532a6e0c310e
makeindex: check return of fgets

Not doing so was flagged by newer build tooling:

makeindex.c:127:9: error: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
makeindex.c