Pārlūkot izejas kodu

HPCC-17302 Code has no effect in hqlttcpp.cpp

Remove assert that can never fail as unsigned variable cannot be < 0.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 8 gadi atpakaļ
vecāks
revīzija
63718ec04d
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      ecl/hqlcpp/hqlttcpp.cpp

+ 0 - 1
ecl/hqlcpp/hqlttcpp.cpp

@@ -8964,7 +8964,6 @@ IHqlExpression * DFSLayoutTransformer::createTransformed(IHqlExpression * expr)
                     OwnedHqlExpr newTransform = mapper.expandFields(transformECLtoDFS, left, nullptr, nullptr);
                     ds.setown(replaceChild(ds, 2, newTransform));
                     // The payload attribute specifies how many UNKEYED fields there are - so if we added or removed any fields we may need to change it
-                    assertex(dfsPayload >= 0);
                     if (dfsPayload != numPayloadFields(ds))
                     {
                         // Note - this doesn't merit a warning - but if we changed the number of keyed it might?