8763: sendmail: set but not used parameter/variable

Review Request #703 - Created Nov. 5, 2017 and submitted

Information
Toomas Soome
illumos-gate
8763
91e748e...
Reviewers
general
editmap.c: In function 'main':
    editmap.c:81:7: error: variable 'verbose' set but not used [-Werror=unused-but-set-variable]
      bool verbose = false;
           ^~~~~~~

    conf.c: In function 'initsetproctitle':
    conf.c:2445:6: error: variable 'align' set but not used [-Werror=unused-but-set-variable]
      int align;
          ^~~~~

    hash/hash_stat.c: In function '__ham_stat':
    hash/hash_stat.c:33:8: error: parameter 'spp' set but not used [-Werror=unused-but-set-parameter]
      void *spp;
            ^~~
    hash/hash_stat.c:34:10: error: parameter 'db_malloc' set but not used [-Werror=unused-but-set-parameter]
      void *(*db_malloc) __P((size_t));
              ^~~~~~~~~
    hash/hash_stat.c:35:12: error: parameter 'flags' set but not used [-Werror=unused-but-set-parameter]
      u_int32_t flags;
                ^~~~~

    mutex/mutex.c: In function '__db_mutex_init':
    mutex/mutex.c:141:12: error: parameter 'off' set but not used [-Werror=unused-but-set-parameter]
      u_int32_t off;
                ^~~
    mutex/mutex.c: In function '__db_mutex_lock':
    mutex/mutex.c:181:6: error: parameter 'fd' set but not used [-Werror=unused-but-set-parameter]
      int fd;
          ^~
    mutex/mutex.c: In function '__db_mutex_unlock':
    mutex/mutex.c:283:6: error: parameter 'fd' set but not used [-Werror=unused-but-set-parameter]
      int fd;
          ^~

    txn/txn_rec.c: In function '__txn_regop_recover':
    txn/txn_rec.c:72:10: error: parameter 'logp' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *logp;
              ^~~~
    txn/txn_rec.c:75:6: error: parameter 'redo' set but not used [-Werror=unused-but-set-parameter]
      int redo;
          ^~~~
    txn/txn_rec.c: In function '__txn_xa_regop_recover':
    txn/txn_rec.c:114:6: error: parameter 'redo' set but not used [-Werror=unused-but-set-parameter]
      int redo;
          ^~~~
    txn/txn_rec.c: In function '__txn_ckp_recover':
    txn/txn_rec.c:171:10: error: parameter 'logp' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *logp;
              ^~~~
    txn/txn_rec.c: In function '__txn_child_recover':
    txn/txn_rec.c:212:10: error: parameter 'logp' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *logp;
              ^~~~
    txn/txn_rec.c:215:6: error: parameter 'redo' set but not used [-Werror=unused-but-set-parameter]
      int redo;
          ^~~~

    db/db_dispatch.c: In function '__db_add_recovery':
    db/db_dispatch.c:149:10: error: parameter 'dbenv' set but not used [-Werror=unused-but-set-parameter]
      DB_ENV *dbenv;
              ^~~~~

    xa/xa_db.c: In function '__xa_fd':
    xa/xa_db.c:175:7: error: parameter 'fdp' set but not used [-Werror=unused-but-set-parameter]
      int *fdp;
           ^~~

    xa/xa_map.c: In function '__db_unmap_xid':
    xa/xa_map.c:217:7: error: parameter 'xid' set but not used [-Werror=unused-but-set-parameter]
      XID *xid;
           ^~~

    txn/txn_auto.c: In function '__txn_regop_print':
    txn/txn_auto.c:82:8: error: variable 'ch' set but not used [-Werror=unused-but-set-variable]
      u_int ch;
            ^~
    txn/txn_auto.c:81:12: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
      u_int32_t i;
                ^
    txn/txn_auto.c:74:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    txn/txn_auto.c:77:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    txn/txn_auto.c:78:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    txn/txn_auto.c: In function '__txn_ckp_print':
    txn/txn_auto.c:211:8: error: variable 'ch' set but not used [-Werror=unused-but-set-variable]
      u_int ch;
            ^~
    txn/txn_auto.c:210:12: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
      u_int32_t i;
                ^
    txn/txn_auto.c:203:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    txn/txn_auto.c:206:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    txn/txn_auto.c:207:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    txn/txn_auto.c: In function '__txn_xa_regop_print':
    txn/txn_auto.c:360:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    txn/txn_auto.c:363:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    txn/txn_auto.c:364:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    txn/txn_auto.c: In function '__txn_child_print':
    txn/txn_auto.c:517:8: error: variable 'ch' set but not used [-Werror=unused-but-set-variable]
      u_int ch;
            ^~
    txn/txn_auto.c:516:12: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
      u_int32_t i;
                ^
    txn/txn_auto.c:509:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    txn/txn_auto.c:512:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    txn/txn_auto.c:513:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~

    xa/xa.c: In function '__db_xa_close':
    xa/xa.c:125:8: error: parameter 'xa_info' set but not used [-Werror=unused-but-set-parameter]
      char *xa_info;
            ^~~~~~~
    xa/xa.c: In function '__db_xa_complete':
    xa/xa.c:634:7: error: parameter 'handle' set but not used [-Werror=unused-but-set-parameter]
      int *handle, *retval, rmid;
           ^~~~~~
    xa/xa.c:634:16: error: parameter 'retval' set but not used [-Werror=unused-but-set-parameter]
      int *handle, *retval, rmid;
                    ^~~~~~
    xa/xa.c:634:24: error: parameter 'rmid' set but not used [-Werror=unused-but-set-parameter]
      int *handle, *retval, rmid;
                            ^~~~
    xa/xa.c:635:7: error: parameter 'flags' set but not used [-Werror=unused-but-set-parameter]
      long flags;
           ^~~~~

    txn/txn.c: In function '__txn_end':
    txn/txn.c:612:12: error: variable 'locker' set but not used [-Werror=unused-but-set-variable]
      u_int32_t locker;
                ^~~~~~

    btree/bt_stat.c: In function '__bam_stat':
    btree/bt_stat.c:39:9: error: variable 't' set but not used [-Werror=unused-but-set-variable]
      BTREE *t;
             ^

    db/db_join.c: In function '__db_join_put':
    db/db_join.c:139:7: error: parameter 'key' set but not used [-Werror=unused-but-set-parameter]
      DBT *key;
           ^~~
    db/db_join.c:140:7: error: parameter 'data' set but not used [-Werror=unused-but-set-parameter]
      DBT *data;
           ^~~~
    db/db_join.c:141:12: error: parameter 'flags' set but not used [-Werror=unused-but-set-parameter]
      u_int32_t flags;
                ^~~~~
    db/db_join.c: In function '__db_join_del':
    db/db_join.c:154:12: error: parameter 'flags' set but not used [-Werror=unused-but-set-parameter]
      u_int32_t flags;
                ^~~~~

    os/os_map.c: In function '__os_map':
    os/os_map.c:337:8: error: parameter 'path' set but not used [-Werror=unused-but-set-parameter]
      char *path;
            ^~~~

    db/db_am.c:284:6: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
      int ret;
          ^~~

    log/log_auto.c:108:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    log/log_auto.c:111:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    log/log_auto.c:112:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~

    log/log_rec.c: In function '__log_register_recover':
    log/log_rec.c:72:10: error: parameter 'lsnp' set but not used [-Werror=unused-but-set-parameter]
      DB_LSN *lsnp;
              ^~~~
    log/log_rec.c:74:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~

    dbm/dbm.c: In function '__db_dbm_nextkey':
    dbm/dbm.c:130:8: error: parameter 'key' set but not used [-Werror=unused-but-set-parameter]
      datum key;
            ^~~

    lock/lock.c: In function '__lock_downgrade':
    lock/lock.c:935:12: error: parameter 'flags' set but not used [-Werror=unused-but-set-parameter]
      u_int32_t flags;
                ^~~~~

    db/db_region.c: In function '__db_rattach':
    db/db_region.c:38:9: error: variable 'grow_region' set but not used [-Werror=unused-but-set-variable]
      size_t grow_region, size;
             ^~~~~~~~~~~

    hash/hash_rec.c: In function '__ham_insdel_recover':
    hash/hash_rec.c:80:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    hash/hash_rec.c: In function '__ham_newpage_recover':
    hash/hash_rec.c:189:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    hash/hash_rec.c: In function '__ham_replace_recover':
    hash/hash_rec.c:375:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    hash/hash_rec.c: In function '__ham_newpgno_recover':
    hash/hash_rec.c:472:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    hash/hash_rec.c: In function '__ham_splitmeta_recover':
    hash/hash_rec.c:601:16: error: variable 'mpf' set but not used [-Werror=unused-but-set-variable]
      DB_MPOOLFILE *mpf;
                    ^~~
    hash/hash_rec.c:595:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    hash/hash_rec.c: In function '__ham_splitdata_recover':
    hash/hash_rec.c:675:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    hash/hash_rec.c: In function '__ham_ovfl_recover':
    hash/hash_rec.c:766:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    hash/hash_rec.c: In function '__ham_copypage_recover':
    hash/hash_rec.c:853:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~

    db/db_rec.c:40:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    db/db_rec.c: In function '__db_split_recover':
    db/db_rec.c:115:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    db/db_rec.c: In function '__db_big_recover':
    db/db_rec.c:189:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    db/db_rec.c: In function '__db_ovref_recover':
    db/db_rec.c:343:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    db/db_rec.c: In function '__db_relink_recover':
    db/db_rec.c:396:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    db/db_rec.c: In function '__db_addpage_recover':
    db/db_rec.c:510:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    db/db_rec.c: In function '__db_debug_recover':
    db/db_rec.c:592:10: error: parameter 'logp' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *logp;
              ^~~~
    db/db_rec.c:595:6: error: parameter 'redo' set but not used [-Werror=unused-but-set-parameter]
      int redo;
          ^~~~
    db/db_rec.c:596:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~

    hash/hash.c: In function '__ham_close':
    hash/hash.c:189:6: error: parameter 'dbp' set but not used [-Werror=unused-but-set-parameter]
      DB *dbp;
          ^~~

    db/db_conv.c: In function '__db_convert':
    db/db_conv.c:98:12: error: parameter 'pg' set but not used [-Werror=unused-but-set-parameter]
      db_pgno_t pg;
                ^~

    db/db_auto.c: In function '__db_addrem_print':
    db/db_auto.c:123:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    db/db_auto.c:126:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    db/db_auto.c:127:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    db/db_auto.c: In function '__db_split_print':
    db/db_auto.c:313:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    db/db_auto.c:316:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    db/db_auto.c:317:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    db/db_auto.c: In function '__db_big_print':
    db/db_auto.c:508:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    db/db_auto.c:511:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    db/db_auto.c:512:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    db/db_auto.c: In function '__db_ovref_print':
    db/db_auto.c:687:8: error: variable 'ch' set but not used [-Werror=unused-but-set-variable]
      u_int ch;
            ^~
    db/db_auto.c:686:12: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
      u_int32_t i;
                ^
    db/db_auto.c:679:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    db/db_auto.c:682:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    db/db_auto.c:683:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    db/db_auto.c: In function '__db_relink_print':
    db/db_auto.c:855:8: error: variable 'ch' set but not used [-Werror=unused-but-set-variable]
      u_int ch;
            ^~
    db/db_auto.c:854:12: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
      u_int32_t i;
                ^
    db/db_auto.c:847:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    db/db_auto.c:850:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    db/db_auto.c:851:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    db/db_auto.c: In function '__db_addpage_print':
    db/db_auto.c:1021:8: error: variable 'ch' set but not used [-Werror=unused-but-set-variable]
      u_int ch;
            ^~
    db/db_auto.c:1020:12: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
      u_int32_t i;
                ^
    db/db_auto.c:1013:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    db/db_auto.c:1016:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    db/db_auto.c:1017:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    db/db_auto.c: In function '__db_debug_print':
    db/db_auto.c:1188:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    db/db_auto.c:1191:6: error: parameter 'notused2' set but not used [-Werror=u
nused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    db/db_auto.c:1192:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    db/db_dup.c: In function '__db_dsearch':
    db/db_dup.c:755:29: error: variable 'save_indx' set but not used [-Werror=unused-but-set-variable]
      db_indx_t base, indx, lim, save_indx;
                                 ^~~~~~~~~

    btree/bt_cursor.c:711:12: error: parameter 'flags' set but not used [-Werror=unused-but-set-parameter]
      u_int32_t flags;
                ^~~~~

    btree/bt_rec.c: In function '__bam_pg_alloc_recover':
    btree/bt_rec.c:42:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    btree/bt_rec.c: In function '__bam_pg_free_recover':
    btree/bt_rec.c:146:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    btree/bt_rec.c: In function '__bam_split_recover':
    btree/bt_rec.c:246:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    btree/bt_rec.c: In function '__bam_rsplit_recover':
    btree/bt_rec.c:518:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    btree/bt_rec.c: In function '__bam_adj_recover':
    btree/bt_rec.c:606:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    btree/bt_rec.c: In function '__bam_cadjust_recover':
    btree/bt_rec.c:672:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    btree/bt_rec.c: In function '__bam_cdel_recover':
    btree/bt_rec.c:749:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~
    btree/bt_rec.c: In function '__bam_repl_recover':
    btree/bt_rec.c:813:8: error: parameter 'info' set but not used [-Werror=unused-but-set-parameter]
      void *info;
            ^~~~

    btree/bt_recno.c: In function '__ram_add':
    btree/bt_recno.c:1276:13: error: variable 'isdeleted' set but not used [-Werror=unused-but-set-variable]
      int exact, isdeleted, ret, stack;
                 ^~~~~~~~~
    btree/bt_recno.c:1273:6: error: variable 'dbp' set but not used [-Werror=unused-but-set-variable]
      DB *dbp;
          ^~~

    btree/btree_auto.c: In function '__bam_pg_alloc_print':
    btree/btree_auto.c:109:8: error: variable 'ch' set but not used [-Werror=unused-but-set-variable]
      u_int ch;
            ^~
    btree/btree_auto.c:108:12: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
      u_int32_t i;
                ^
    btree/btree_auto.c:101:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    btree/btree_auto.c:104:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    btree/btree_auto.c:105:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    btree/btree_auto.c: In function '__bam_pg_free_print':
    btree/btree_auto.c:266:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    btree/btree_auto.c:269:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    btree/btree_auto.c:270:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    btree/btree_auto.c: In function '__bam_split_print':
    btree/btree_auto.c:461:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    btree/btree_auto.c:464:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    btree/btree_auto.c:465:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    btree/btree_auto.c: In function '__bam_rsplit_print':
    btree/btree_auto.c:658:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    btree/btree_auto.c:661:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    btree/btree_auto.c:662:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    btree/btree_auto.c: In function '__bam_adj_print':
    btree/btree_auto.c:845:8: error: variable 'ch' set but not used [-Werror=unused-but-set-variable]
      u_int ch;
            ^~
    btree/btree_auto.c:844:12: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
      u_int32_t i;
                ^
    btree/btree_auto.c:837:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    btree/btree_auto.c:840:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    btree/btree_auto.c:841:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    btree/btree_auto.c: In function '__bam_cadjust_print':
    btree/btree_auto.c:1004:8: error: variable 'ch' set but not used [-Werror=unused-but-set-variable]
      u_int ch;
            ^~
    btree/btree_auto.c:1003:12: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
      u_int32_t i;
                ^
    btree/btree_auto.c:996:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    btree/btree_auto.c:999:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    btree/btree_auto.c:1000:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    btree/btree_auto.c: In function '__bam_cdel_print':
    btree/btree_auto.c:1154:8: error: variable 'ch' set but not used [-Werror=unused-but-set-variable]
      u_int ch;
            ^~
    btree/btree_auto.c:1153:12: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
      u_int32_t i;
                ^
    btree/btree_auto.c:1146:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    btree/btree_auto.c:1149:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    btree/btree_auto.c:1150:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    btree/btree_auto.c: In function '__bam_repl_print':
    btree/btree_auto.c:1330:10: error: parameter 'notused1' set but not used [-Werror=unused-but-set-parameter]
      DB_LOG *notused1;
              ^~~~~~~~
    btree/btree_auto.c:1333:6: error: parameter 'notused2' set but not used [-Werror=unused-but-set-parameter]
      int notused2;
          ^~~~~~~~
    btree/btree_auto.c:1334:8: error: parameter 'notused3' set but not used [-Werror=unused-but-set-parameter]
      void *notused3;
            ^~~~~~~~
    cc1: all warnings being treated as errors

  
Robert Mustacchi
Gary Mills
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...