• Ondřej Surý's avatar
    libdns: add missing checks for return values in dnstap unit test · e9acad63
    Ondřej Surý authored
    Related scan-build report:
    
    dnstap_test.c:169:2: warning: Value stored to 'result' is never read
            result = dns_test_makeview("test", &view);
            ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    dnstap_test.c:193:2: warning: Value stored to 'result' is never read
            result = dns_compress_init(&cctx, -1, dt_mctx);
            ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2 warnings generated.
    e9acad63
dnstap_test.c 9.23 KB