Changeset e877ce6


Ignore:
Timestamp:
2008-09-26 14:20:18 (6 years ago)
Author:
Poul-Henning Kamp <phk@…>
Branches:
master, 3.0, 4.0, experimental-ims
Children:
a0c141
Parents:
e8f2cbd
git-author:
Poul-Henning Kamp <phk@…> (2008-09-26 14:20:18)
git-committer:
Poul-Henning Kamp <phk@…> (2008-09-26 14:20:18)
Message:

A couple of FlexeLint? nits

git-svn-id:  http://www.varnish-cache.org/svn/trunk/varnish-cache@3230 d4fa192b-c00b-0410-8231-f00ffab90ce4

Location:
bin/varnishd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bin/varnishd/cache_panic.c

    rc6abb7 re877ce6  
    224224#undef VCL_RET_MAC_E 
    225225/*lint -restore */ 
    226                 default: stp = NULL; 
     226                default: hand = NULL; 
    227227        } 
    228228        if (stp != NULL) 
     
    230230        else 
    231231                vsb_printf(vsp, "  step = 0x%x,\n", sp->step); 
    232         if (stp != NULL) 
     232        if (hand != NULL) 
    233233                vsb_printf(vsp, "  handling = %s,\n", hand); 
    234234        else 
     
    321321#endif 
    322322        if (params->diag_bitmap & 0x1000) 
    323                 (void)exit(4); 
     323                exit(4); 
    324324        else 
    325325                abort(); 
  • bin/varnishd/storage_synth.c

    r649ebe re877ce6  
    9090        sto = calloc(sizeof *sto, 1); 
    9191        XXXAN(sto); 
    92         if (sto == NULL) 
    93                 return (NULL); 
    9492        vsb = vsb_newauto(); 
    9593        XXXAN(vsb); 
Note: See TracChangeset for help on using the changeset viewer.