Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12169

Fix Clang warnings related to configuration processing

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.3.0, 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines
    • 2
    • 2024-01-09 - I Grew Tired

      Clang is raising the following warnings:

      ../src/config/config_api.c:233:17: warning: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret' [deadcode.DeadStores]
              while ((ret = __wt_config_next(&cparser, &ck, &cv)) == 0) {
      
      ../src/config/config_check.c:221:34: warning: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret' [deadcode.DeadStores]
                      while (found && (ret = __wt_config_next(&sparser, &v, &dummy)) == 0)
      
      ../src/session/session_api.c:481:10: warning: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret' [deadcode.DeadStores]
          if ((ret = __wt_config_getones(
      

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: