Changeset 2e4ec14 in git


Ignore:
Timestamp:
Feb 21, 2013, 12:31:21 AM (10 years ago)
Author:
Yue Ren <ren@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'cbf866d4f8c3861325311c042cb2033c053453b2')
Children:
cd4f243f3aafc7080a52fa973f2d90493e4847f2
Parents:
6909cfb17ff34ff746782e3cb8cdb891e03521dd
git-author:
Yue Ren <ren@mathematik.uni-kl.de>2013-02-21 00:31:21+01:00
git-committer:
Yue Ren <ren@mathematik.uni-kl.de>2013-02-21 20:00:58+01:00
Message:
fix: -Wunused-parameter warnings
Files:
56 edited

Legend:

Unmodified
Added
Removed
  • Singular/CacheImplementation.h

    r6909cfb r2e4ec14  
    7676
    7777template<class KeyClass, class ValueClass>
    78 ValueClass Cache<KeyClass, ValueClass>::getValue (const KeyClass& key) const
     78ValueClass Cache<KeyClass, ValueClass>::getValue (const KeyClass& /*key*/) const
    7979{
    8080  if (_itKey == _key.end())
  • Singular/MinorProcessor.cc

    r6909cfb r2e4ec14  
    203203}
    204204
    205 bool MinorProcessor::isEntryZero (const int absoluteRowIndex,
    206                                   const int absoluteColumnIndex) const
     205bool MinorProcessor::isEntryZero (const int /*absoluteRowIndex*/,
     206                                  const int /*absoluteColumnIndex*/) const
    207207{
    208208  assume(false);
  • Singular/attrib.cc

    r6909cfb r2e4ec14  
    329329  return FALSE;
    330330}
    331 BOOLEAN atATTRIB3(leftv res,leftv v,leftv b,leftv c)
     331BOOLEAN atATTRIB3(leftv /*res*/,leftv v,leftv b,leftv c)
    332332{
    333333  idhdl h=(idhdl)v->data;
     
    416416}
    417417
    418 BOOLEAN atKILLATTR1(leftv res,leftv a)
     418BOOLEAN atKILLATTR1(leftv /*res*/,leftv a)
    419419{
    420420  idhdl h=NULL;
     
    433433  return FALSE;
    434434}
    435 BOOLEAN atKILLATTR2(leftv res,leftv a,leftv b)
     435BOOLEAN atKILLATTR2(leftv /*res*/,leftv a,leftv b)
    436436{
    437437  if ((a->rtyp!=IDHDL)||(a->e!=NULL))
  • Singular/blackbox.cc

    r6909cfb r2e4ec14  
    2222
    2323
    24 void blackbox_default_destroy(blackbox  *b, void *d)
     24void blackbox_default_destroy(blackbox */*b*/, void */*d*/)
    2525{
    2626  WerrorS("missing blackbox_destroy");
    2727}
    28 char *blackbox_default_String(blackbox *b,void *d)
     28char *blackbox_default_String(blackbox */*b*/,void */*d*/)
    2929{
    3030  WerrorS("missing blackbox_String");
    3131  return omStrDup("");
    3232}
    33 void *blackbox_default_Copy(blackbox *b,void *d)
     33void *blackbox_default_Copy(blackbox */*b*/,void */*d*/)
    3434{
    3535  WerrorS("missing blackbox_Copy");
     
    4242  omFree(s);
    4343}
    44 void *blackbox_default_Init(blackbox *b)
     44void *blackbox_default_Init(blackbox */*b*/)
    4545{
    4646  return NULL;
    4747}
    4848
    49 BOOLEAN blackbox_default_serialize(blackbox *b, void *d, si_link f)
     49BOOLEAN blackbox_default_serialize(blackbox */*b*/, void */*d*/, si_link /*f*/)
    5050{
    5151  return TRUE;
    5252}
    5353
    54 BOOLEAN blackbox_default_deserialize(blackbox **b, void **d, si_link f)
     54BOOLEAN blackbox_default_deserialize(blackbox **/*b*/, void **/*d*/, si_link /*f*/)
    5555{
    5656  return TRUE;
     
    8888}
    8989
    90 BOOLEAN blackboxDefaultOp2(int op,leftv l, leftv r1, leftv r2)
     90BOOLEAN blackboxDefaultOp2(int op,leftv /*l*/, leftv r1, leftv /*r2*/)
    9191{
    9292  return WrongOp("blackbox_Op2", op, r1);
    9393}
    9494
    95 BOOLEAN blackbox_default_Op3(int op,leftv l, leftv r1,leftv r2, leftv r3)
     95BOOLEAN blackbox_default_Op3(int op,leftv /*l*/, leftv r1,leftv /*r2*/, leftv /*r3*/)
    9696{
    9797  return WrongOp("blackbox_Op3", op, r1);
  • Singular/cntrlc.cc

    r6909cfb r2e4ec14  
    7676BOOLEAN singular_in_batchmode=FALSE;
    7777
    78 void sig_pipe_hdl(int sig)
     78void sig_pipe_hdl(int /*sig*/)
    7979{
    8080 if (pipeLastLink!=NULL)
     
    8686}
    8787
    88 void sig_term_hdl(int sig)
     88void sig_term_hdl(int /*sig*/)
    8989{
    9090 while (ssiToBeClosed!=NULL)
     
    320320*/
    321321int sigint_handler_cnt=0;
    322 void sigint_handler(int sig)
     322void sigint_handler(int /*sig*/)
    323323{
    324324  mflush();
     
    572572}
    573573
    574 static void stack_trace_sigchld (int signum)
     574static void stack_trace_sigchld (int /*signum*/)
    575575{
    576576  stack_trace_done = 1;
  • Singular/countedref.cc

    r6909cfb r2e4ec14  
    187187/// We use the function pointer as a marker of reference types
    188188/// for CountedRef::is_ref(leftv), see the latter for details
    189 BOOLEAN countedref_CheckAssign(blackbox *b, leftv L, leftv R)
     189BOOLEAN countedref_CheckAssign(blackbox */*b*/, leftv /*L*/, leftv /*R*/)
    190190{
    191191  return FALSE;
     
    350350
    351351/// blackbox support - convert to string representation
    352 void countedref_Print(blackbox *b, void* ptr)
     352void countedref_Print(blackbox */*b*/, void* ptr)
    353353{
    354354  if (ptr) (*CountedRef::cast(ptr))->Print();
     
    357357
    358358/// blackbox support - convert to string representation
    359 char* countedref_String(blackbox *b, void* ptr)
     359char* countedref_String(blackbox */*b*/, void* ptr)
    360360{
    361361  if (ptr == NULL) return omStrDup(sNoName);
     
    364364
    365365/// blackbox support - copy element
    366 void* countedref_Copy(blackbox*b, void* ptr)
     366void* countedref_Copy(blackbox*/*b*/, void* ptr)
    367367{
    368368  if (ptr) return CountedRef::cast(ptr).outcast();
     
    478478
    479479/// blackbox support - destruction
    480 void countedref_destroy(blackbox *b, void* ptr)
     480void countedref_destroy(blackbox */*b*/, void* ptr)
    481481{
    482482  if (ptr) CountedRef::cast(ptr).destruct();
     
    667667
    668668/// blackbox support - destruction
    669 void countedref_destroyShared(blackbox *b, void* ptr)
     669void countedref_destroyShared(blackbox */*b*/, void* ptr)
    670670{
    671671  if (ptr) CountedRefShared::cast(ptr).destruct();
     
    673673
    674674
    675 BOOLEAN countedref_serialize(blackbox *b, void *d, si_link f)
     675BOOLEAN countedref_serialize(blackbox */*b*/, void *d, si_link f)
    676676{
    677677  sleftv l;
     
    685685}
    686686
    687 BOOLEAN countedref_deserialize(blackbox **b, void **d, si_link f)
     687BOOLEAN countedref_deserialize(blackbox **/*b*/, void **d, si_link f)
    688688{
    689689  // rtyp must be set correctly (to the blackbox id) by routine calling
  • Singular/fehelp.cc

    r6909cfb r2e4ec14  
    10981098#endif
    10991099
    1100 static BOOLEAN heDummyInit(int warn, int br)
     1100static BOOLEAN heDummyInit(int /*warn*/, int /*br*/)
    11011101{
    11021102  return TRUE;
    11031103}
    1104 static void heDummyHelp(heEntry hentry, int br)
     1104static void heDummyHelp(heEntry /*hentry*/, int /*br*/)
    11051105{
    11061106  Werror("No functioning help browser available.");
    11071107}
    11081108
    1109 static BOOLEAN heEmacsInit(int warn, int br)
     1109static BOOLEAN heEmacsInit(int /*warn*/, int /*br*/)
    11101110{
    11111111  return TRUE;
    11121112}
    1113 static void heEmacsHelp(heEntry hentry, int br)
     1113static void heEmacsHelp(heEntry hentry, int /*br*/)
    11141114{
    11151115  WarnS("Your help command could not be executed. Use");
     
    11201120}
    11211121static int singular_manual(char *str);
    1122 static void heBuiltinHelp(heEntry hentry, int br)
     1122static void heBuiltinHelp(heEntry hentry, int /*br*/)
    11231123{
    11241124  char* node = omStrDup(hentry != NULL && *(hentry->node) != '\0' ?
  • Singular/fevoices.cc

    r6909cfb r2e4ec14  
    407407* print echo (si_echo or TRACE), set my_yylinebuf
    408408*/
    409 static int fePrintEcho(char *anf, char *b)
     409static int fePrintEcho(char *anf, char */*b*/)
    410410{
    411411  char *ss=strrchr(anf,'\n');
  • Singular/interpolation.cc

    r6909cfb r2e4ec14  
    10411041#endif
    10421042
     1043#ifdef HAVE_FACTORY
     1044static modp_number TakePrime (modp_number /*p*/)  // takes "previous" (smaller) prime
     1045#else
    10431046static modp_number TakePrime (modp_number p)  // takes "previous" (smaller) prime
     1047#endif
    10441048{
    10451049#ifdef HAVE_FACTORY
  • Singular/iparith.cc

    r6909cfb r2e4ec14  
    25972597  return FALSE;
    25982598}
    2599 static BOOLEAN jjLOAD2(leftv res, leftv, leftv v)
     2599static BOOLEAN jjLOAD2(leftv /*res*/, leftv, leftv v)
    26002600{
    26012601  return jjLOAD((char*)v->Data(),TRUE);
    26022602}
    2603 static BOOLEAN jjLOAD_E(leftv res, leftv v, leftv u)
     2603static BOOLEAN jjLOAD_E(leftv /*res*/, leftv v, leftv u)
    26042604{
    26052605  char * s=(char *)u->Data();
     
    44474447  return FALSE;
    44484448}
    4449 static BOOLEAN jjLOAD1(leftv res, leftv v)
     4449static BOOLEAN jjLOAD1(leftv /*res*/, leftv v)
    44504450{
    44514451  return jjLOAD((char*)v->Data(),FALSE);
     
    59375937  return TRUE;
    59385938}
    5939 static BOOLEAN jjHOMOG_ID_W(leftv res, leftv u, leftv v, leftv w)
     5939static BOOLEAN jjHOMOG_ID_W(leftv res, leftv u, leftv v, leftv /*w*/)
    59405940{
    59415941  PrintS("TODO\n");
     
    59555955  return (d!=1);
    59565956}
    5957 static BOOLEAN jjHOMOG_P_W(leftv res, leftv u, leftv v,leftv w)
     5957static BOOLEAN jjHOMOG_P_W(leftv res, leftv u, leftv v,leftv /*w*/)
    59585958{
    59595959  PrintS("TODO\n");
  • Singular/ipid.cc

    r6909cfb r2e4ec14  
    460460}
    461461
    462 idhdl ggetid(const char *n, BOOLEAN local, idhdl *packhdl)
     462idhdl ggetid(const char *n, BOOLEAN /*local*/, idhdl *packhdl)
    463463{
    464464  idhdl h = IDROOT->get(n,myynest);
  • Singular/iplib.cc

    r6909cfb r2e4ec14  
    13701370/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
    13711371#ifdef HAVE_LIBPARSER
    1372 void libstack::push(char *p, char *libn)
     1372void libstack::push(char */*p*/, char *libn)
    13731373{
    13741374  libstackv lp;
     
    13911391}
    13921392
    1393 libstackv libstack::pop(char *p)
     1393libstackv libstack::pop(char */*p*/)
    13941394{
    13951395  libstackv ls = this;
  • Singular/janet.cc

    r6909cfb r2e4ec14  
    301301}
    302302
    303 int ValidatePoly(Poly *x, TreeM *F)
     303int ValidatePoly(Poly *x, TreeM */*F*/)
    304304{
    305305  Poly /*f,*/*g;
  • Singular/links/asciiLink.cc

    r6909cfb r2e4ec14  
    3535
    3636/* =============== ASCII ============================================= */
    37 BOOLEAN slOpenAscii(si_link l, short flag, leftv h)
     37BOOLEAN slOpenAscii(si_link l, short flag, leftv /*h*/)
    3838{
    3939  const char *mode;
  • Singular/links/pipeLink.cc

    r6909cfb r2e4ec14  
    3838
    3939//**************************************************************************/
    40 BOOLEAN pipeOpen(si_link l, short flag, leftv u)
     40BOOLEAN pipeOpen(si_link l, short flag, leftv /*u*/)
    4141{
    4242  pipeInfo *d=(pipeInfo*)omAlloc0(sizeof(pipeInfo));
  • Singular/links/sing_dbm.cc

    r6909cfb r2e4ec14  
    285285
    286286//**************************************************************************/
    287 LINKAGE BOOLEAN dbOpen(si_link l, short flag, leftv u)
     287LINKAGE BOOLEAN dbOpen(si_link l, short flag, leftv /*u*/)
    288288{
    289289  const char *mode = "r";
  • Singular/links/ssiLink.cc

    r6909cfb r2e4ec14  
    284284}
    285285
    286 void ssiWritePoly(ssiInfo *d, int typ, poly p)
     286void ssiWritePoly(ssiInfo *d, int /*typ*/, poly p)
    287287{
    288288  SSI_BLOCK_CHLD;
     
    19121912**/
    19131913/*---------------------------------------------------------------------*/
    1914 void sig_chld_hdl(int sig)
     1914void sig_chld_hdl(int /*sig*/)
    19151915{
    19161916  pid_t kidpid;
  • Singular/mmstd.c

    r6909cfb r2e4ec14  
    3434void freeSize(void* addr, size_t size)
    3535{
     36  (void) size;
    3637  if (addr) free(addr);
    3738}
  • Singular/newstruct.cc

    r6909cfb r2e4ec14  
    494494}
    495495
    496 void newstruct_destroy(blackbox *b, void *d)
     496void newstruct_destroy(blackbox */*b*/, void *d)
    497497{
    498498  if (d!=NULL)
     
    518518}
    519519
    520 BOOLEAN newstruct_CheckAssign(blackbox *b, leftv L, leftv R)
     520BOOLEAN newstruct_CheckAssign(blackbox */*b*/, leftv L, leftv R)
    521521{
    522522  int lt=L->Typ();
     
    570570}
    571571
    572 BOOLEAN newstruct_deserialize(blackbox **b, void **d, si_link f)
     572BOOLEAN newstruct_deserialize(blackbox **/*b*/, void **d, si_link f)
    573573{
    574574  // newstruct is serialiazed as a list,
  • Singular/pyobject_setup.cc

    r6909cfb r2e4ec14  
    3636}
    3737
    38 void pyobject_default_destroy(blackbox  *b, void *d)
     38void pyobject_default_destroy(blackbox  */*b*/, void */*d*/)
    3939{
    4040  Werror("Python-based functionality not available!");
  • Singular/utils.cc

    r6909cfb r2e4ec14  
    108108
    109109/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
    110 void main_result(char *libname)
     110void main_result(char */*libname*/)
    111111{
    112112  if(!found_info)    printf("*** No info-string found!\n");
  • dyn_modules/bigintm/bigintm.cc

    r6909cfb r2e4ec14  
    3030
    3131#ifdef HAVE_BIGINTM
    32 static char * bigintm_String(blackbox *b, void *d)
     32static char * bigintm_String(blackbox */*b*/, void *d)
    3333{ if (d==NULL) return omStrDup("oo");
    3434   else
     
    3939    }
    4040}
    41 static void * bigintm_Copy(blackbox*b, void *d)
     41static void * bigintm_Copy(blackbox*/*b*/, void *d)
    4242{  number n=(number)d; return n_Copy(n, coeffs_BIGINT); }
    4343
     
    287287}
    288288
    289 static void bigintm_destroy(blackbox *b, void *d)
     289static void bigintm_destroy(blackbox */*b*/, void *d)
    290290{
    291291  if (d!=NULL)
  • factory/libfac/charset/alg_factor.cc

    r6909cfb r2e4ec14  
    398398
    399399// the heart of the algorithm: the one from Trager
     400#ifndef DEBUGOUTPUT
     401static CFFList
     402alg_factor( const CanonicalForm & f, const CFList & Astar, const Variable & vminpoly, const Varlist /*& oldord*/, const CFList & as)
     403#else
    400404static CFFList
    401405alg_factor( const CanonicalForm & f, const CFList & Astar, const Variable & vminpoly, const Varlist & oldord, const CFList & as)
     406#endif
    402407{
    403408  CFFList L, Factorlist;
  • kernel/fast_maps.cc

    r6909cfb r2e4ec14  
    135135static omBin macoeffBin = omGetSpecBin(sizeof(macoeff_s));
    136136
    137 mapoly maMonomial_Create(poly p, ring r_p, sBucket_pt bucket)
     137mapoly maMonomial_Create(poly p, ring /*r_p*/, sBucket_pt bucket)
    138138{
    139139  mapoly mp = (mapoly) omAlloc0Bin(mapolyBin);
     
    320320*/
    321321
    322 ideal maIdeal_2_Ideal(maideal m_id, ring dest_r)
     322ideal maIdeal_2_Ideal(maideal m_id, ring /*dest_r*/)
    323323{
    324324  ideal res = idInit(m_id->n, 1);
  • kernel/fast_mult.cc

    r6909cfb r2e4ec14  
    482482  return p;
    483483}
    484 static void buildTermAndAdd(int n,number* facult,poly* f_terms,int* exp,int f_len,kBucket_pt erg_bucket,ring r, number coef, poly & zw, poly tmp, poly** term_pot){
     484static void buildTermAndAdd(int /*n*/,number* /*facult*/,poly* /*f_terms*/,int* exp,int f_len,kBucket_pt /*erg_bucket*/,ring r, number coef, poly & zw, poly /*tmp*/, poly** term_pot){
    485485
    486486  int i;
  • kernel/feread.cc

    r6909cfb r2e4ec14  
    397397/* ===================================================================*/
    398398/* dummy (for batch mode): */
    399 char * fe_fgets_dummy(const char *pr,char *s, int size)
     399char * fe_fgets_dummy(const char */*pr*/,char */*s*/, int /*size*/)
    400400{
    401401  return NULL;
  • kernel/fglmzero.cc

    r6909cfb r2e4ec14  
    609609
    610610void
    611 internalCalculateFunctionals( const ideal & theIdeal, idealFunctionals & l,
     611internalCalculateFunctionals( const ideal /*& theIdeal*/, idealFunctionals & l,
    612612                              fglmSdata & data )
    613613{
  • kernel/gr_kstd2.cc

    r6909cfb r2e4ec14  
    968968#endif
    969969
     970#ifdef HAVE_RATGRING
    970971void nc_gr_initBba(ideal F, kStrategy strat)
     972#else
     973void nc_gr_initBba(ideal, kStrategy strat)
     974#endif
    971975{
    972976  assume(rIsPluralRing(currRing));
  • kernel/hilb.cc

    r6909cfb r2e4ec14  
    213213
    214214static intvec * hSeries(ideal S, intvec *modulweight,
    215                 int notstc, intvec *wdegree, ideal Q, ring tailRing)
     215                int /*notstc*/, intvec *wdegree, ideal Q, ring tailRing)
    216216{
    217217  intvec *work, *hseries1=NULL;
  • kernel/kInline.h

    r6909cfb r2e4ec14  
    11671167// dummy function for function pointer strat->rewCrit being usable in all
    11681168// possible choices for criteria
    1169 KINLINE BOOLEAN arriRewDummy(poly /*sig*/, unsigned long /*not_sevSig*/, kStrategy /*strat*/, int start=0)
     1169KINLINE BOOLEAN arriRewDummy(poly /*sig*/, unsigned long /*not_sevSig*/, kStrategy /*strat*/, int /*start=0*/)
    11701170{
    11711171  return FALSE;
  • kernel/kspoly.cc

    r6909cfb r2e4ec14  
    171171int ksReducePolySig(LObject* PR,
    172172                 TObject* PW,
    173                  long idx,
     173                 long /*idx*/,
    174174                 poly spNoether,
    175175                 number *coef,
  • kernel/kstd1.cc

    r6909cfb r2e4ec14  
    10411041}
    10421042
    1043 void initBba(ideal F,kStrategy strat)
     1043void initBba(ideal /*F*/,kStrategy strat)
    10441044{
    10451045 /* setting global variables ------------------- */
  • kernel/kstd2.cc

    r6909cfb r2e4ec14  
    29982998}
    29992999
    3000 void initBbaShift(ideal F,kStrategy strat)
     3000void initBbaShift(ideal /*F*/,kStrategy strat)
    30013001{
    30023002 /* setting global variables ------------------- */
  • kernel/kstdfac.cc

    r6909cfb r2e4ec14  
    545545}
    546546
    547 ideal bbafac (ideal F, ideal Q,intvec *w,kStrategy strat, ideal_list FL)
     547ideal bbafac (ideal /*F*/, ideal Q,intvec */*w*/,kStrategy strat, ideal_list FL)
    548548{
    549549  int   olddeg,reduc=0;
  • kernel/kutil.cc

    r6909cfb r2e4ec14  
    17311731*/
    17321732
     1733#ifdef DEBUGF5
    17331734void enterOnePairSig (int i, poly p, poly pSig, int from, int ecart, int isFromQ, kStrategy strat, int atR = -1)
     1735#else
     1736void enterOnePairSig (int i, poly p, poly pSig, int, int ecart, int isFromQ, kStrategy strat, int atR = -1)
     1737#endif
    17341738{
    17351739  assume(i<=strat->sl);
     
    23382342*using the chain-criterion in B and L and enters B to L
    23392343*/
    2340 void chainCritSig (poly p,int ecart,kStrategy strat)
     2344void chainCritSig (poly p,int /*ecart*/,kStrategy strat)
    23412345{
    23422346  int i,j,l;
     
    44704474*/
    44714475int posInLSig (const LSet set, const int length,
    4472             LObject* p,const kStrategy strat)
     4476               LObject* p,const kStrategy /*strat*/)
    44734477{
    44744478if (length<0) return 0;
     
    44994503* still in strat->L!
    45004504*/
    4501 int posInLF5C (const LSet set, const int length,
    4502             LObject* p,const kStrategy strat)
     4505int posInLF5C (const LSet /*set*/, const int /*length*/,
     4506               LObject* /*p*/,const kStrategy strat)
    45034507{
    45044508  return strat->Ll+1;
     
    50465050//        critical pair. In this situation we can discard the critical pair
    50475051//        completely.
    5048 BOOLEAN arriRewCriterion(poly sig, unsigned long /*not_sevSig*/, kStrategy strat, int start=0)
     5052BOOLEAN arriRewCriterion(poly /*sig*/, unsigned long /*not_sevSig*/, kStrategy strat, int /*start=0*/)
    50495053{
    50505054  //printf("Arri Rewritten Criterion\n");
     
    80908094}
    80918095
    8092 ring sbaRing (kStrategy strat, const ring r, BOOLEAN complete, int sgn)
     8096ring sbaRing (kStrategy strat, const ring r, BOOLEAN /*complete*/, int /*sgn*/)
    80938097{
    80948098  int n = rBlocks(r); // Including trailing zero!
  • kernel/linearAlgebra.cc

    r6909cfb r2e4ec14  
    10811081/* helper for qrDoubleShift */
    10821082bool qrDS(
    1083        const int n,
     1083       const int /*n*/,
    10841084       matrix* queue,
    10851085       int& queueL,
  • kernel/sca.cc

    r6909cfb r2e4ec14  
    375375
    376376// Under development!!!
    377 ideal sca_bba (const ideal F, const ideal Q, const intvec *w, const intvec * /*hilb*/, kStrategy strat, const ring _currRing)
     377ideal sca_bba (const ideal F, const ideal Q, const intvec */*w*/, const intvec * /*hilb*/, kStrategy strat, const ring _currRing)
    378378{
    379379  const ring save = currRing;
     
    867867
    868868// returns TRUE if mora should use buckets, false otherwise
     869#ifdef MORA_USE_BUCKETS
    869870static BOOLEAN kMoraUseBucket(kStrategy strat)
     871#else
     872static BOOLEAN kMoraUseBucket(kStrategy)
     873#endif
    870874{
    871875#ifdef MORA_USE_BUCKETS
     
    898902
    899903// ideal sca_mora (ideal F, ideal Q, intvec *w, intvec *, kStrategy strat)
    900 ideal sca_mora(const ideal F, const ideal Q, const intvec *w, const intvec *, kStrategy strat, const ring _currRing)
     904ideal sca_mora(const ideal F, const ideal Q, const intvec */*w*/, const intvec *, kStrategy strat, const ring _currRing)
    901905{
    902906  const ring save = currRing;
  • kernel/syz0.cc

    r6909cfb r2e4ec14  
    862862
    863863resolvente sySchreyerResolvente(ideal arg, int maxlength, int * length,
    864                                 BOOLEAN isMonomial, BOOLEAN notReplace)
     864                                BOOLEAN isMonomial, BOOLEAN /*notReplace*/)
    865865{
    866866  ideal mW=NULL;
  • kernel/syz1.cc

    r6909cfb r2e4ec14  
    988988* puts a pair into the right place in resPairs
    989989*/
    990 void syEnterPair(SSet sPairs, SObject * so, int * sPlength,int index)
     990void syEnterPair(SSet sPairs, SObject * so, int * sPlength,int /*index*/)
    991991{
    992992  int ll,k,no=(*so).order,sP=*sPlength,i;
  • kernel/syz3.cc

    r6909cfb r2e4ec14  
    237237* only for tests
    238238*/
     239#ifdef NDEBUG
     240static void syTestPairs(SSet resPairs,int length,ideal /*old_generators*/)
     241#else
    239242static void syTestPairs(SSet resPairs,int length,ideal old_generators)
     243#endif
    240244{
    241245  int i=0;
     
    10491053* updates the pairs inthe higher modules
    10501054*/
    1051 static void updatePairsHIndex(SSet *resPairs,int *l_pairs,syStrategy syzstr,
    1052        int index,ideal add_generators,ideal add_repr,ideal new_generators,
    1053        ideal new_repr,int crit_comp,int* first_new)
     1055static void updatePairsHIndex(SSet *resPairs,int *l_pairs,syStrategy /*syzstr*/,
     1056       int index,ideal add_generators,ideal /*add_repr*/,ideal /*new_generators*/,
     1057       ideal /*new_repr*/,int /*crit_comp*/,int* first_new)
    10541058{
    10551059  int i=*first_new,l=*l_pairs,j,ll,j1,add_idel=IDELEMS(add_generators);
     
    11731177* reduction of a single pair in the higher moduls
    11741178*/
     1179#ifdef SHOW_PROT
    11751180static void redOnePairHIndex(SSet resPairs,int itso, int crit_comp,
    11761181            syStrategy syzstr,int index,ideal add_generators, ideal add_repr,
    11771182            ideal new_generators, ideal new_repr,int * next_place_add,int ** g_l,
    11781183            poly deg_soc)
     1184#else
     1185static void redOnePairHIndex(SSet resPairs,int itso, int crit_comp,
     1186            syStrategy syzstr,int /*index*/,ideal add_generators, ideal add_repr,
     1187            ideal new_generators, ideal new_repr,int * next_place_add,int ** g_l,
     1188            poly deg_soc)
     1189#endif
    11791190{
    11801191  SObject tso = resPairs[itso];
     
    14011412* reduction which is normalized afterwards
    14021413*/
    1403 static void procedeNextGenerators(ideal temp_generators,ideal temp_repr,
     1414static void procedeNextGenerators(ideal temp_generators,ideal /*temp_repr*/,
    14041415      ideal new_generators, ideal new_repr, ideal add_generators,
    14051416      ideal add_repr, syStrategy syzstr,int index, int crit_comp,
     
    15331544*/
    15341545static ideal normalizeOldPart(ideal new_generators,ideal new_repr,
    1535                       syStrategy syzstr,int index,int crit_comp)
     1546                      syStrategy syzstr,int index,int /*crit_comp*/)
    15361547{
    15371548  ideal old_generators= syzstr->res[index];
  • kernel/tgb.cc

    r6909cfb r2e4ec14  
    485485}
    486486
    487 wlen_type pELength (poly p, slimgb_alg * c, ring r)
     487wlen_type pELength (poly p, slimgb_alg * c, ring /*r*/)
    488488{
    489489  if(p == NULL)
     
    508508}
    509509
    510 wlen_type kEBucketLength (kBucket * b, poly lm, int sugar, slimgb_alg * ca)
     510wlen_type kEBucketLength (kBucket * b, poly lm, int /*sugar*/, slimgb_alg * ca)
    511511{
    512512  wlen_type s = 0;
     
    36223622
    36233623ideal
    3624 do_t_rep_gb (ring r, ideal arg_I, int syz_comp, BOOLEAN F4_mode, int deg_pos)
     3624do_t_rep_gb (ring /*r*/, ideal arg_I, int syz_comp, BOOLEAN F4_mode, int deg_pos)
    36253625{
    36263626  //  Print("QlogSize(0) %d, QlogSize(1) %d,QlogSize(-2) %d, QlogSize(5) %d\n", QlogSize(nlInit(0)),QlogSize(nlInit(1)),QlogSize(nlInit(-2)),QlogSize(nlInit(5)));
     
    39793979
    39803980static BOOLEAN
    3981 pair_better (sorted_pair_node * a, sorted_pair_node * b, slimgb_alg * c)
     3981pair_better (sorted_pair_node * a, sorted_pair_node * b, slimgb_alg * /*c*/)
    39823982{
    39833983  if(a->deg < b->deg)
     
    41824182
    41834183static void
    4184 multi_reduction_lls_trick (red_object * los, int losl, slimgb_alg * c,
     4184multi_reduction_lls_trick (red_object * los, int /*losl*/, slimgb_alg * c,
    41854185                           find_erg & erg)
    41864186{
     
    45044504
    45054505static void
    4506 canonicalize_region (red_object * los, int l, int u, slimgb_alg * c)
     4506canonicalize_region (red_object * los, int l, int u, slimgb_alg * /*c*/)
    45074507{
    45084508  assume (l <= u + 1);
     
    45144514}
    45154515
     4516#ifdef NDEBUG
     4517static void
     4518multi_reduction_find (red_object * los, int /*losl*/, slimgb_alg * c, int startf,
     4519                      find_erg & erg)
     4520#else
    45164521static void
    45174522multi_reduction_find (red_object * los, int losl, slimgb_alg * c, int startf,
    45184523                      find_erg & erg)
     4524#endif
    45194525{
    45204526  kStrategy strat = c->strat;
     
    46314637}
    46324638
    4633 static void sort_region_down (red_object * los, int l, int u, slimgb_alg * c)
     4639static void sort_region_down (red_object * los, int l, int u, slimgb_alg * /*c*/)
    46344640{
    46354641  int r_size = u - l + 1;
     
    48904896}
    48914897
    4892 void reduction_step::reduce (red_object * r, int l, int u)
     4898void reduction_step::reduce (red_object * /*r*/, int /*l*/, int /*u*/)
    48934899{
    48944900}
     
    50655071}
    50665072
    5067 void simple_reducer::pre_reduce (red_object * r, int l, int u)
    5068 {
    5069 }
     5073void simple_reducer::pre_reduce (red_object * /*r*/, int /*l*/, int /*u*/)
     5074{
     5075}
  • kernel/tgb_internal.h

    r6909cfb r2e4ec14  
    658658  }
    659659  #endif
    660   DataNoroCacheNode<number_type>* insertAndTransferOwnerShip(poly t, ring r)
     660  DataNoroCacheNode<number_type>* insertAndTransferOwnerShip(poly t, ring /*r*/)
    661661  {
    662662    ressources.push_back(t);
     
    919919return res;
    920920}
     921#ifdef NDEBUG
     922template <class number_type> void add_coef_times_sparse(number_type* const temp_array,
     923int /*temp_size*/,SparseRow<number_type>* row, number coef)
     924#else
    921925template <class number_type> void add_coef_times_sparse(number_type* const temp_array,
    922926int temp_size,SparseRow<number_type>* row, number coef)
     927#endif
    923928{
    924929  int j;
     
    960965  }
    961966}
     967#ifdef NDEBUG
     968template <class number_type> void add_coef_times_dense(number_type* const temp_array,
     969int /*temp_size*/,const number_type* row, int len,number coef)
     970#else
    962971template <class number_type> void add_coef_times_dense(number_type* const temp_array,
    963972int temp_size,const number_type* row, int len,number coef)
     973#endif
    964974{
    965975  int j;
     
    10011011  }
    10021012}
     1013#ifdef NDEBUG
     1014template <class number_type> void add_dense(number_type* const temp_array,
     1015int /*temp_size*/,const number_type* row, int len)
     1016#else
    10031017template <class number_type> void add_dense(number_type* const temp_array,
    10041018int temp_size,const number_type* row, int len)
     1019#endif
    10051020{
    10061021  //int j;
     
    10201035
    10211036}
     1037#ifdef NDEBUG
     1038template <class number_type> void sub_dense(number_type* const temp_array,
     1039int /*temp_size*/,const number_type* row, int len)
     1040#else
    10221041template <class number_type> void sub_dense(number_type* const temp_array,
    10231042int temp_size,const number_type* row, int len)
     1043#endif
    10241044{
    10251045  //int j;
     
    10411061}
    10421062
     1063#ifdef NDEBUG
     1064template <class number_type> void add_sparse(number_type* const temp_array,int /*temp_size*/,SparseRow<number_type>* row)
     1065#else
    10431066template <class number_type> void add_sparse(number_type* const temp_array,int temp_size,SparseRow<number_type>* row)
     1067#endif
    10441068{
    10451069  int j;
     
    10551079        }
    10561080}
     1081#ifdef NDEBUG
     1082template <class number_type> void sub_sparse(number_type* const temp_array,int /*temp_size*/,SparseRow<number_type>* row)
     1083#else
    10571084template <class number_type> void sub_sparse(number_type* const temp_array,int temp_size,SparseRow<number_type>* row)
     1085#endif
    10581086{
    10591087  int j;
  • kernel/tgbgauss.cc

    r6909cfb r2e4ec14  
    125125}
    126126
    127 void simple_gauss(tgb_sparse_matrix* mat, slimgb_alg* c)
     127void simple_gauss(tgb_sparse_matrix* mat, slimgb_alg* /*c*/)
    128128{
    129129  int col, row;
  • libpolys/coeffs/bigintmat.h

    r6909cfb r2e4ec14  
    146146    /// replace an entry with the given number n (only delete old).
    147147    /// NOTE: starts at [0]
     148#ifdef NDEBUG
     149    inline void rawset(int i, number n, const coeffs /*C = NULL*/)
     150#else
    148151    inline void rawset(int i, number n, const coeffs C = NULL)
     152#endif
    149153    {
    150154      assume (C == NULL || C == basecoeffs());
  • libpolys/coeffs/coeffs.h

    r6909cfb r2e4ec14  
    592592/// test whether n is a correct number;
    593593/// only used if LDEBUG is defined
     594#ifdef LDEBUG
    594595static inline BOOLEAN n_DBTest(number n, const char *filename, const int linenumber, const coeffs r)
     596#else
     597static inline BOOLEAN n_DBTest(number, const char*, const int, const coeffs)
     598#endif
    595599{
    596600  assume(r != NULL);
  • libpolys/coeffs/gnumpc.cc

    r6909cfb r2e4ec14  
    698698}
    699699
    700 void    ngcCoeffWrite  (const coeffs r, BOOLEAN details)
     700void    ngcCoeffWrite  (const coeffs r, BOOLEAN /*details*/)
    701701{
    702702  Print("//   characteristic : 0 (complex:%d digits, additional %d digits)\n",
  • libpolys/coeffs/rintegers.cc

    r6909cfb r2e4ec14  
    279279}
    280280
    281 nMapFunc nrzSetMap(const coeffs src, const coeffs dst)
     281nMapFunc nrzSetMap(const coeffs src, const coeffs /*dst*/)
    282282{
    283283  /* dst = currRing */
  • libpolys/polys/clapsing.cc

    r6909cfb r2e4ec14  
    14151415}
    14161416
    1417 int singclap_det_i( intvec * m, const ring r)
     1417int singclap_det_i( intvec * m, const ring /*r*/)
    14181418{
    14191419//  assume( r == currRing ); // Anything else is not guaranted to work!
  • libpolys/polys/ext_fields/transext.cc

    r6909cfb r2e4ec14  
    16941694  return (number)result;
    16951695}
    1696 CanonicalForm ntConvSingNFactoryN( number n, BOOLEAN setChar, const coeffs cf )
     1696CanonicalForm ntConvSingNFactoryN( number n, BOOLEAN /*setChar*/, const coeffs cf )
    16971697{
    16981698  ntTest(n);
  • libpolys/polys/monomials/p_polys.h

    r6909cfb r2e4ec14  
    657657static inline poly p_New(const ring r, omBin bin)
    658658#else
    659 static inline poly p_New(const ring r, omBin bin)
     659static inline poly p_New(const ring /*r*/, omBin bin)
    660660#endif
    661661{
  • libpolys/polys/nc/ncSACache.cc

    r6909cfb r2e4ec14  
    4343
    4444
    45 
     45#if OUTPUT
    4646void CGlobalCacheHash::History(const EHistoryType t, const CGlobalCacheHash::CExponent a, const CGlobalCacheHash::CExponent b, const poly p)
     47#else
     48void CGlobalCacheHash::History(const EHistoryType, const CGlobalCacheHash::CExponent, const CGlobalCacheHash::CExponent, const poly)
     49#endif
    4750{
    4851#if OUTPUT
     
    5962
    6063
     64#if OUTPUT
    6165void  CSpecialPairCacheHash::History(const EHistoryType t, const CSpecialPairCacheHash::CExponent a, const CSpecialPairCacheHash::CExponent b, const poly p)
     66#else
     67void  CSpecialPairCacheHash::History(const EHistoryType, const CSpecialPairCacheHash::CExponent, const CSpecialPairCacheHash::CExponent, const poly)
     68#endif
    6269{
    6370#if OUTPUT
  • libpolys/polys/nc/ncSACache.h

    r6909cfb r2e4ec14  
    8787    };
    8888   
    89     virtual void History(const EHistoryType , const CExponent a, const CExponent b, const poly p = NULL)
     89    virtual void History(const EHistoryType , const CExponent /*a*/, const CExponent /*b*/, const poly /*p = NULL*/)
    9090    {
    9191      PrintS("CCacheHash::History(a, b, [p])!\n");
  • libpolys/polys/nc/old.gring.cc

    r6909cfb r2e4ec14  
    33383338  /* shift defines the position of a subring in srcRing */
    33393339  /* par_shift defines the position of a subfield in basefield of CurrRing */
    3340 poly p_CopyEmbed(poly p, ring srcRing, int shift, int par_shift, ring dstRing)
     3340poly p_CopyEmbed(poly p, ring srcRing, int shift, int /*par_shift*/, ring dstRing)
    33413341{
    33423342  if (dstRing == srcRing)
  • libpolys/polys/operations/pShallowCopyDelete.cc

    r6909cfb r2e4ec14  
    4646}
    4747
    48 pShallowCopyDeleteProc pGetShallowCopyDeleteProc(ring source_r, ring dest_r)
     48pShallowCopyDeleteProc pGetShallowCopyDeleteProc(ring /*source_r*/, ring /*dest_r*/)
    4949{
    5050  return pShallowCopyDelete_General;
  • numeric/mpr_base.h

    r6909cfb r2e4ec14  
    3232  virtual ideal getSubMatrix() { return NULL; }
    3333
    34   virtual poly getUDet( const number* evpoint ) { return NULL; }
     34  virtual poly getUDet( const number* /*evpoint*/ ) { return NULL; }
    3535
    36   virtual number getDetAt( const number* evpoint ) { return NULL; }
     36  virtual number getDetAt( const number* /*evpoint*/ ) { return NULL; }
    3737  virtual number getSubDet() { return NULL; }
    3838
  • numeric/mpr_inout.cc

    r6909cfb r2e4ec14  
    105105//-> mprState mprIdealCheck()
    106106mprState mprIdealCheck( const ideal theIdeal,
    107                         const char * name,
     107                        const char * /*name*/,
    108108                        uResultant::resMatType mtype,
    109109                        BOOLEAN rmatrix )
Note: See TracChangeset for help on using the changeset viewer.