diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-11-21 13:37:54 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-11-21 13:37:54 +0100 |
| commit | 910c7d18ebb465cd58d13a5eb2bd03d7b9f414cd (patch) | |
| tree | 0713a27d4c194423dbbeb5d9730a8276fac75bae /src/Fl_Help_View.cxx | |
| parent | f57891864b2cdda3bb937ce62dc4bc7f51f3294c (diff) | |
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.
Diffstat (limited to 'src/Fl_Help_View.cxx')
| -rw-r--r-- | src/Fl_Help_View.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
