Uploaded image for project: 'OpenDNSSEC'
  1. OpenDNSSEC
  2. OPENDNSSEC-524

Signer build warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Signer
    • Labels:
      None
    • Environment:

      Trunk

      Description

      daemon/cmdhandler.c: In function ‘cmdhandler_handle_cmd_clear’:
      daemon/cmdhandler.c:400:16: warning: unused variable ‘task’ [-Wunused-variable]
      task_type* task = NULL;
      ^
      daemon/engine.c: In function ‘engine_run’:
      daemon/engine.c:677:5: warning: passing argument 1 of ‘lhsm_reopen’ from incompatible pointer type [enabled by default]
      (void)lhsm_reopen(engine->config->cfg_filename);
      ^
      In file included from ./daemon/cfg.h:39:0,
      from daemon/engine.c:35:
      ./shared/hsm.h:62:5: note: expected ‘struct hsm_repository_t *’ but argument is of type ‘const char *’
      int lhsm_reopen(hsm_repository_t* rlist);
      ^
      parser/confparser.c: In function ‘parse_conf_repositories’:
      parser/confparser.c:145:41: warning: unused parameter ‘allocator’ [-Wunused-parameter]
      parse_conf_repositories(allocator_type* allocator, const char* cfgfile)
      ^
      shared/hsm.c: In function ‘lhsm_sign’:
      shared/hsm.c:226:9: warning: unused variable ‘retries’ [-Wunused-variable]
      int retries = 0;
      ^
      shared/hsm.c:222:16: warning: unused variable ‘status’ [-Wunused-variable]
      ods_status status = ODS_STATUS_OK;
      ^
      signer/denial.c: In function ‘denial_nsecify’:
      signer/denial.c:307:14: warning: unused variable ‘maxttl’ [-Wunused-variable]
      uint32_t maxttl = 0;
      ^
      signer/rrset.c:558:1: warning: ‘rrset_sigok’ defined but not used [-Wunused-function]
      rrset_sigok(rrset_type* rrset, key_type* key)
      ^
      signer/zone.c: In function ‘zone_publish_dnskeys’:
      signer/zone.c:237:14: warning: unused variable ‘maxttl’ [-Wunused-variable]
      uint32_t maxttl = 0;
      ^
      signer/zone.c: In function ‘zone_publish_nsec3param’:
      signer/zone.c:356:14: warning: unused variable ‘maxttl’ [-Wunused-variable]
      uint32_t maxttl = 0;
      ^
      signer/zone.c:355:14: warning: unused variable ‘ttl’ [-Wunused-variable]
      uint32_t ttl = 0;
      ^

        Attachments

          Activity

            People

            Assignee:
            matthijs Matthijs Mekking
            Reporter:
            yuri Yuri Schaeffer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: