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

Correct logically dead code

XMLWordPrintable

    • Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
    • 0.125

      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;
              }
      

            ak Andrejs Kozlovs
            ak Andrejs Kozlovs
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: