Changeset 9bb5457 in git for libpolys/coeffs/numbers.cc


Ignore:
Timestamp:
May 27, 2011, 2:56:51 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
2c7f28850c274452c6d4f324225864e2331412ed
Parents:
7af488ec51790060979537b35a03fb345e053f90
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-05-27 14:56:51+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:39:06+01:00
Message:
fixed warning about unused paramaters in coeffs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/numbers.cc

    r7af488e r9bb5457  
    5252
    5353void   nNew(number* d) { *d=NULL; }
    54 void   ndDelete(number* d, const coeffs r) { *d=NULL; }
     54void   ndDelete(number* d, const coeffs) { *d=NULL; }
    5555void   ndInpMult(number &a, number b, const coeffs r)
    5656{
     
    6767
    6868#ifdef LDEBUG
    69 void   nDBDummy1(number* d,char *f, int l) { *d=NULL; }
    70 BOOLEAN ndDBTest(number a, const char *f, const int l, const coeffs r)
     69void   nDBDummy1(number* d,char *, int) { *d=NULL; }
     70BOOLEAN ndDBTest(number, const char *, const int, const coeffs)
    7171{
    7272  return TRUE;
     
    9090}
    9191
    92 void   ndNormalize(number& d, const coeffs r) { }
    93 
    94 char * ndName(number n, const coeffs r) { return NULL; }
    95 
    96 number ndPar(int i, const coeffs r) { return n_Init(0,r); }
    97 
    98 number ndReturn0(number n, const coeffs r) { return n_Init(0,r); }
    99 
    100 int    ndParDeg(number n, const coeffs r) { return 0; }
     92void   ndNormalize(number&, const coeffs) { }
     93
     94char * ndName(number, const coeffs) { return NULL; }
     95
     96number ndPar(int, const coeffs r) { return n_Init(0,r); }
     97
     98number ndReturn0(number, const coeffs r) { return n_Init(0,r); }
     99
     100int    ndParDeg(number, const coeffs) { return 0; }
    101101
    102102number ndGcd(number, number, const coeffs r) { return n_Init(1,r); }
     
    122122
    123123#ifdef HAVE_RINGS
    124 BOOLEAN ndDivBy(number a, number b, const coeffs r) { return TRUE; } // assume a,b !=0
    125 int ndDivComp(number a, number b, const coeffs r) { return 2; }
     124BOOLEAN ndDivBy(number, number, const coeffs) { return TRUE; } // assume a,b !=0
     125int ndDivComp(number, number, const coeffs) { return 2; }
    126126BOOLEAN ndIsUnit(number a, const coeffs r) { return !n_IsZero(a,r); }
    127 number  ndExtGcd (number a, number b, number *s, number *t, const coeffs r) { return n_Init(1,r); }
     127number  ndExtGcd (number, number, number *, number *, const coeffs r) { return n_Init(1,r); }
    128128#endif
    129129
    130130#ifdef HAVE_FACTORY
    131 CanonicalForm ndConvSingNFactoryN( number n, BOOLEAN setChar, const coeffs r )
     131CanonicalForm ndConvSingNFactoryN( number, BOOLEAN /*setChar*/, const coeffs)
    132132{
    133133  CanonicalForm term(0);
     
    136136}
    137137
    138 number ndConvFactoryNSingN( const CanonicalForm n, const coeffs r)
     138number ndConvFactoryNSingN( const CanonicalForm, const coeffs)
    139139{
    140140  Werror("no conversion from factory");
Note: See TracChangeset for help on using the changeset viewer.