From 910c7d18ebb465cd58d13a5eb2bd03d7b9f414cd Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 21 Nov 2025 13:37:54 +0100 Subject: Fix a few more warnings by Clang. - Apple Clang 17.0.0. - png, z, jpeg lib integer cast warnings remain - FLTK callback function cast warnings remain. --- src/Fl_Help_View.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_Help_View.cxx') diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index da436a5f5..8ebcceecc 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -886,7 +886,7 @@ int Fl_Help_View::Impl::do_align( void Fl_Help_View::Impl::format() { int i; // Looping var int done; // Are we done yet? - Text_Block *block, // Current block + Text_Block *block = nullptr, // Current block *cell; // Current table cell int cells[MAX_COLUMNS], // Cells in the current row... @@ -899,7 +899,7 @@ void Fl_Help_View::Impl::format() { wattr[1024], // Width attribute buffer hattr[1024], // Height attribute buffer linkdest[1024]; // Link destination - int xx, yy, ww, hh; // Size of current text fragment + int xx, yy, ww, hh = 0; // Size of current text fragment int line; // Current line in block int links; // Links for current line Fl_Font font; -- cgit v1.2.3