URL:
  <https://savannah.gnu.org/bugs/?61187>

                 Summary: [grohtml] post-html.cpp: address used instead of the
value
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Sun 19 Sep 2021 12:13:37 AM UTC
                Category: Device grohtml
                Severity: 3 - Normal
              Item Group: Warning/Suspicious behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:



  CXX      src/devices/grohtml/post-html.o
../src/devices/grohtml/post-html.cpp: In member function 'virtual void
html_printer::special(char*, const environment*, char)':
../src/devices/grohtml/post-html.cpp:5312:28: warning: the address of 'found'
will never be NULL [-Waddress]
 5312 |  f = font::load_font("TR", &found);
      |                            ^~~~~~
../src/devices/grohtml/post-html.cpp:5340:28: warning: the address of 'found'
will never be NULL [-Waddress]
 5340 |  f = font::load_font("TR", &found);
      |                            ^~~~~~

  I suppose the address should not be used (as in the former version) in
"src/libs/libgroff/font.cpp".





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61187>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to