"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.16.7/cocci/dns_name_dup.disabled" (4 Sep 2020, 611 Bytes) of package /linux/misc/dns/bind9/9.16.7/bind-9.16.7.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @@
    2 expression E1, E2, E3;
    3 statement S;
    4 expression V;
    5 @@
    6 
    7 - V = dns_name_dup(E1, E2, E3);
    8 + dns_name_dup(E1, E2, E3);
    9 - if (V != ISC_R_SUCCESS) S
   10 
   11 @@
   12 expression E1, E2, E3;
   13 statement S1, S2;
   14 expression V;
   15 @@
   16 
   17 - V = dns_name_dup(E1, E2, E3);
   18 - if (V != ISC_R_SUCCESS) S1 else { S2 }
   19 + dns_name_dup(E1, E2, E3);
   20 + S2
   21 
   22 @@
   23 expression E1, E2, E3;
   24 expression V;
   25 @@
   26 
   27 - V = dns_name_dup(E1, E2, E3);
   28 - RUNTIME_CHECK(V == ISC_R_SUCCESS);
   29 + dns_name_dup(E1, E2, E3);
   30 
   31 @@
   32 expression E1, E2, E3;
   33 statement S1, S2;
   34 expression V;
   35 @@
   36 
   37 - V = dns_name_dup(E1, E2, E3);
   38 + dns_name_dup(E1, E2, E3);
   39 S1
   40 - if (V != ISC_R_SUCCESS) S2