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

Unneccessary NULL check in __wt_conf_compile_api_call

    • Storage Engines

      Redundant test

      By the time the program execution reaches the test of this condition there is only one possible outcome for the test. The code at the destination of this branch is not dead, either because this condition is always true or because there is at least one other branch that reaches it. Test always evaluates the same
      /src/conf/conf_compile.c:428: DEADCODE 138733 At condition "config != NULL", the value of "config" cannot be "NULL".
      /src/conf/conf_compile.c:397: DEADCODE 138733 Condition "config == NULL", taking false branch. Now the value of "config" is not "NULL".
      /src/conf/conf_compile.c:428: DEADCODE 138733 The condition "config != NULL" must be true.

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: