Changeset 0276c1 in git


Ignore:
Timestamp:
May 11, 2011, 12:11:48 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
2544e7127fb04e566355d0d65780282e783c74b9
Parents:
6c5f321b6d90033ee182ddb259f685c31738ff2b
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-05-11 12:11:48+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:02+01:00
Message:
fix: some "unused parameter" warnings
Location:
libpolys/polys
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/kbuckets.cc

    r6c5f32 r0276c1  
    4343#endif
    4444static omBin kBucket_bin = omGetSpecBin(sizeof(kBucket));
     45#ifdef USE_COEF_BUCKETS
    4546static int coef_start=1;
     47#endif
    4648//////////////////////////////////////////////////////////////////////////
    4749///
     
    11641166}
    11651167
     1168#ifndef USE_COEF_BUCKETS
     1169void kBucketSimpleContent(kBucket_pt) {}
     1170#else
    11661171void kBucketSimpleContent(kBucket_pt bucket)
    11671172{
    1168   #ifdef USE_COEF_BUCKETS
    11691173  ring r=bucket->bucket_ring;
    11701174  int i;
     
    12411245  }
    12421246  n_Delete(&coef,r);
    1243   #endif
    1244 }
     1247}
     1248#endif
    12451249
    12461250
  • libpolys/polys/monomials/p_polys.h

    r6c5f32 r0276c1  
    688688 *
    689689 ***************************************************************/
    690 static inline poly p_New(ring r, omBin bin)
     690#if PDEBUG > 2
     691static inline poly p_New(const ring r, omBin bin)
     692#else
     693static inline poly p_New(const ring, omBin bin)
     694#endif
    691695{
    692696  p_CheckRing2(r);
     
    703707}
    704708
     709#if PDEBUG > 2
    705710static inline void p_LmFree(poly p, ring r)
     711#else
     712static inline void p_LmFree(poly p, ring)
     713#endif
    706714{
    707715  p_LmCheckPolyRing2(p, r);
    708716  omFreeBinAddr(p);
    709717}
     718#if PDEBUG > 2
    710719static inline void p_LmFree(poly *p, ring r)
     720#else
     721static inline void p_LmFree(poly *p, ring)
     722#endif
    711723{
    712724  p_LmCheckPolyRing2(*p, r);
     
    715727  omFreeBinAddr(h);
    716728}
     729#if PDEBUG > 2
    717730static inline poly p_LmFreeAndNext(poly p, ring r)
     731#else
     732static inline poly p_LmFreeAndNext(poly p, ring)
     733#endif
    718734{
    719735  p_LmCheckPolyRing2(p, r);
     
    13431359
    13441360// simialar to p_ShallowCopyDelete but does it only for leading monomial
    1345 static inline poly p_LmShallowCopyDelete(poly p, const ring r, omBin bin)
     1361static inline poly p_LmShallowCopyDelete(poly p, const ring r)
    13461362{
    13471363  p_LmCheckPolyRing1(p, r);
  • libpolys/polys/nc/ncSACache.cc

    r6c5f32 r0276c1  
    3030namespace
    3131{
    32   static char* m_Typenames[2] = {"lookup", "store"};
     32  static const char* m_Typenames[2] = {"lookup", "store"};
    3333}
    3434
Note: See TracChangeset for help on using the changeset viewer.