[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61187] [grohtml] post-html.cpp: address used instead of the value
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #61187] [grohtml] post-html.cpp: address used instead of the value |
Date: |
Sat, 18 Sep 2021 20:13:39 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
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/
- [bug #61187] [grohtml] post-html.cpp: address used instead of the value,
Bjarni Ingi Gislason <=