Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16956

Correct logically dead code

    XMLWordPrintable

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
    • Story Points:
      0.125

      Description

      Code in zbxgetopt.c is logically dead and could be moved under OFF define:

             if (ambig && !exact)
              {
                if (zbx_opterr)
                      zbx_error("option `%s' is ambiguous", argv[zbx_optind]);
      
                nextchar += strlen (nextchar);
                zbx_optind++;
                return BAD_OPTION;
              }
      

        Attachments

          Activity

            People

            Assignee:
            ak Andrejs Kozlovs
            Reporter:
            ak Andrejs Kozlovs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: