Changeset d101b1 in git for kernel/kstd1.cc


Ignore:
Timestamp:
Jan 10, 2013, 12:25:13 PM (11 years ago)
Author:
Oleksandr Motsak <http://goo.gl/mcpzY>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
8836a9f43c10a0aea1e3ab6a8d9ecf52fe6a9128
Parents:
5fdf7adfacd151eb7c448b03ce681f70b7211e79
git-author:
Oleksandr Motsak <http://goo.gl/mcpzY>2013-01-10 12:25:13+01:00
git-committer:
Oleksandr Motsak <http://goo.gl/mcpzY>2013-01-10 16:45:07+01:00
Message:
Silence some warnings about statements without effect

Insired by [039a51b3aa3c77c2b7bae73d24de8521df45aed2]
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/kstd1.cc

    r5fdf7a rd101b1  
    136136  int ret;
    137137#if KDEBUG > 0
    138   kTest_L(h);
    139   kTest_T(with);
     138  assume(kTest_L(h));
     139  assume(kTest_T(with));
    140140#endif
    141141  // Hmmm ... why do we do this -- polys from T should already be normalized
     
    839839{
    840840  int i = 0;
    841   kTest_TS(strat);
     841  assume(kTest_TS(strat));
    842842  while (i <= strat->Ll)
    843843  {
     
    884884    {
    885885#ifdef KDEBUG
    886       kTest_L(&(strat->L[i]), strat->tailRing, TRUE, i, strat->T, strat->tl);
     886      assume(kTest_L(&(strat->L[i]), strat->tailRing, TRUE, i, strat->T, strat->tl));
    887887#endif
    888888      i++;
    889889    }
    890890  }
    891   kTest_TS(strat);
     891  assume(kTest_TS(strat));
    892892}
    893893
     
    923923  if (strat->update)
    924924  {
    925     kTest_TS(strat);
     925    assume(kTest_TS(strat));
    926926    strat->update = (strat->tl == -1);
    927927    //if (TEST_OPT_WEIGHTM)
     
    961961    reorderT(strat);
    962962  }
    963   kTest_TS(strat);
     963  assume(kTest_TS(strat));
    964964}
    965965
     
    12701270    reorderL(strat);
    12711271  }
    1272   kTest_TS(strat);
     1272  assume(kTest_TS(strat));
    12731273  strat->use_buckets = kMoraUseBucket(strat);
    12741274  /*- compute-------------------------------------------*/
     
    14251425      }
    14261426    }
    1427     kTest_TS(strat);
     1427    assume(kTest_TS(strat));
    14281428  }
    14291429  /*- complete reduction of the standard basis------------------------ -*/
     
    15481548  p = pCopy(q);
    15491549  deleteHC(&p,&o,&j,strat);
    1550   kTest(strat);
     1550  assume(kTest(strat));
    15511551  if (TEST_OPT_PROT) { PrintS("r"); mflush(); }
    15521552  if (BVERBOSE(23)) kDebugPrint(strat);
     
    25232523
    25242524  // strat->posInT = posInT_pLength;
    2525   kTest_TS(strat);
     2525  assume(kTest_TS(strat));
    25262526
    25272527#ifdef HAVE_TAIL_RING
Note: See TracChangeset for help on using the changeset viewer.