Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-17374

Coverity: unreachable code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4.0
    • Component/s: Plugins
    • Labels:
      None

      Description

      In Rembed:

      /mnt/disk1/home/vamosax/build/CE/platform/HPCC-Platform/plugins/Rembed/Rembed.cpp: 426 in Rembed::RDataFrameAppender::processBeginSet(const RtlFieldInfo *, unsigned int, bool, const unsigned char *)()
      420             switch (field->type->queryChildType()->fieldType & RFTMkind)
      421             {
      422             case type_boolean:
      423                 theBoolSet = Rcpp::LogicalVector(elements);
      424                 l[r] = theBoolSet;
      425                 break;
      >>>     CID 1427838:  Control flow issues  (DEADCODE)
      >>>     Execution cannot reach this statement: "case type_unsigned:".
      426             case type_unsigned:
      

      Note type_unsigned is a modifer rather than a base type (and should really be renamed to something liek type_unsignedmodifier to make it clear)

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: