• Poul-Henning Kamp's avatar
    Fix a Flexelint warning which has bothered me for ages. · 597a34c2
    Poul-Henning Kamp authored
    The message makes very little sense when you read it, and it was only
    a pure accident which finally resolved what it means:
    
        Info 768: global struct member 'backend' (line 51, file cache/cache_backend.h) not referenced
        cache/cache_backend.h  51  Info 830: Location cited in prior message
    
    If you have:
    
    	struct backend;
    
    	void somefunc(struct backend *);
    
    	struct backend {
    		...
    	};
    
    All is fine.
    
    But without the `somefunc` prototype, the first vacuous mention of
    `struct backend` is unused, and FlexeLint uses the name *of* the
    struct as the name of a field *in* the struct, and compounds the
    confusion by emitting the message on the line where struct backend
    is finally flushed out.
    597a34c2
Name
Last commit
Last update
.circleci Loading commit data...
.github Loading commit data...
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
tools Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.lgtm.yml Loading commit data...
.syntastic_c_config Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish-legacy.m4 Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...
vtc.am Loading commit data...