rrd_graph_helper.c:747:25: warning: comparison is always false due to limited range of data type [-Wtype-limits]
if (vname && (*vname>128)) {
^
Effectively, as 'vname' is a (char *), the values can go from
-128 to 127, so this was deadcode.
if (bitscmp(PARSE_COLOR2) && (! color2) && (h2)) { color2=h2;}
}
- /* clean up vname escaping on second tries */
- if (bits & PARSE_RETRY) {
- if (vname && (*vname>128)) {
- *vname-=128;
- }
- }
-
/* check if we are reusing the vname */
if (vname) {
int idx=find_var(im, vname);