URL:
<https://savannah.gnu.org/bugs/?60639>
Summary: src/utils/addftinfo/addftinfo.cpp:119: double
increment ?
Project: GNU troff
Submitted by: dcb314
Submitted on: Wed 19 May 2021 06:45:58 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
I just tried to compile the package with clang. It said:
src/utils/addftinfo/addftinfo.cpp:119:5: warning: variable 'i' is incremented
both in the loop header and in the loop body [-Wfor-loop-analysis]
Source code is
for (i = 1; i < argc && argv[i][0] == '-'; i++) {
...
i++;
}
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60639>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/