Changeset 6909cfb in git


Ignore:
Timestamp:
Feb 20, 2013, 3:48:32 PM (10 years ago)
Author:
Yue Ren <ren@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'cbf866d4f8c3861325311c042cb2033c053453b2')
Children:
2e4ec146a83f4d025c2cb4229c4b171a375173c1
Parents:
367df95c40f03bb94a871481eb198951b3a42c85
git-author:
Yue Ren <ren@mathematik.uni-kl.de>2013-02-20 15:48:32+01:00
git-committer:
Yue Ren <ren@mathematik.uni-kl.de>2013-02-21 20:00:58+01:00
Message:
fix: -Wunused-variable warnings
Files:
36 edited

Legend:

Unmodified
Added
Removed
  • Singular/MinorInterface.cc

    r367df9 r6909cfb  
    100100  /* containers for all upcoming results: */
    101101  IntMinorValue theMinor;
    102   int value = 0;
     102  // int value = 0;
    103103  int collectedMinors = 0;
    104104  int characteristic = 0; if (currRing != 0) characteristic = rChar(currRing);
     
    323323  /* containers for all upcoming results: */
    324324  IntMinorValue theMinor;
    325   int value = 0;
     325  // int value = 0;
    326326  int collectedMinors = 0;
    327327  int characteristic = 0; if (currRing != 0) characteristic = rChar(currRing);
  • Singular/emacs.cc

    r367df9 r6909cfb  
    107107  char* singular = NULL;
    108108  char* emacs = NULL;
     109#ifndef TSINGULAR
    109110  char* emacs_dir = NULL;
    110111  char* emacs_load = NULL;
     112  char cwd[MAXPATHLEN];
     113#endif
    111114  int no_emacs_call = 0;
    112   char cwd[MAXPATHLEN];
    113115
    114116  // parse-cmdline options
  • Singular/fehelp.cc

    r367df9 r6909cfb  
    980980{
    981981  char sys[MAX_SYSCMD_LEN];
    982   char url[MAXPATHLEN];
     982  // char url[MAXPATHLEN];
    983983  const char *p=heHelpBrowsers[br].action;
    984984  if (p==NULL) {PrintS("no action ?\n"); return;}
     
    10631063  }
    10641064  Print("running `%s`\n",sys);
    1065   int dummy=system(sys);
     1065  /*int dummy=*/ (void) system(sys);
    10661066}
    10671067
     
    12191219  while(!feof(index))
    12201220  {
    1221     char* dummy=fgets(buffer, BUF_LEN, index); /* */
     1221    // char* dummy=fgets(buffer, BUF_LEN, index); /* */
    12221222    (void)sscanf(buffer, "Node:%[^\177]\177%ld\n", Index, &offset);
    12231223    for(p=Index; *p; p++) *p = tolow(*p);/* */
  • Singular/fevoices.cc

    r367df9 r6909cfb  
    4040// this is an upper limit for the size of monomials/numbers read via the interpreter
    4141#define MAX_FILE_BUFFER 4*4096
    42 static long feBufferLength=INITIAL_PRINT_BUFFER;
     42// static long feBufferLength=INITIAL_PRINT_BUFFER;
    4343static char * feBuffer=(char *)omAlloc(INITIAL_PRINT_BUFFER);
    4444
  • Singular/fglm.cc

    r367df9 r6909cfb  
    288288
    289289    idhdl destRingHdl = currRingHdl;
    290     ring destRing = currRing;
     290    // ring destRing = currRing;
    291291    ideal destIdeal = NULL;
    292292    idhdl sourceRingHdl = (idhdl)first->data;
    293293    rSetHdl( sourceRingHdl );
    294     ring sourceRing = currRing;
     294    // ring sourceRing = currRing;
    295295
    296296    int * vperm = (int *)omAlloc0( (currRing->N+1)*sizeof( int ) );
  • Singular/ipid.cc

    r367df9 r6909cfb  
    243243  idhdl h;
    244244  s=omStrDup(s);
    245   idhdl *save_root=root;
     245  // idhdl *save_root=root;
    246246  if (t==PACKAGE_CMD)
    247247  {
  • Singular/iplib.cc

    r367df9 r6909cfb  
    279279    // load example
    280280    fseek(fp, pi->data.s.example_start, SEEK_SET);
    281     char *dummy=fgets(buf, sizeof(buf), fp); // skip line with "example"
     281    /*char *dummy=*/ (void) fgets(buf, sizeof(buf), fp); // skip line with "example"
    282282    procbuflen = pi->data.s.proc_end - pi->data.s.example_start - strlen(buf);
    283283    //Print("Example=%ld-%ld=%d\n", pi->data.s.proc_end,
     
    755755  const char *suffix[] = { "", ".lib", ".so", ".sl", NULL };
    756756  int i = 0;
    757   FILE *fp;
    758   package pack;
    759   idhdl packhdl;
     757  // FILE *fp;
     758  // package pack;
     759  // idhdl packhdl;
    760760  lib_types LT;
    761761  for(i=0; suffix[i] != NULL; i++)
     
    828828{
    829829  char libnamebuf[128];
    830   procinfov pi;
    831   idhdl h;
     830  // procinfov pi;
     831  // idhdl h;
    832832  idhdl pl;
    833   idhdl hl;
    834   long pos = 0L;
     833  // idhdl hl;
     834  // long pos = 0L;
    835835  char *plib = iiConvName(newlib);
    836836  FILE * fp = feFopen( newlib, "r", libnamebuf, tellerror );
    837   int lines = 1;
     837  // int lines = 1;
    838838  BOOLEAN LoadResult = TRUE;
    839839
     
    906906    int save=yylineno;
    907907    myynest++;
    908     procinfo *pi=(procinfo*)IDDATA(h);
     908    // procinfo *pi=(procinfo*)IDDATA(h);
    909909    //PrintS("mod_init found\n");
    910910    iiMake_proc(h,p,NULL);
     
    11781178                               BOOLEAN pstatic,
    11791179                               BOOLEAN(*func)(leftv res, leftv v)));
    1180   SModulFunc_t fktn;
     1180  // SModulFunc_t fktn;
    11811181  idhdl pl;
    11821182  char *plib = iiConvName(newlib);
    1183   BOOLEAN RET=TRUE;
    1184   int token;
     1183  // BOOLEAN RET=TRUE;
     1184  // int token;
    11851185
    11861186  pl = IDROOT->get(plib,0);
  • Singular/ipprint.cc

    r367df9 r6909cfb  
    303303  if (print)
    304304  {
    305     BOOLEAN r=FALSE;
     305    // BOOLEAN r=FALSE;
    306306    leftv h=u;
    307307    leftv hh;
  • Singular/janet.cc

    r367df9 r6909cfb  
    3333
    3434//------GLOBALS-------
    35 static int m_s,v_s,vectorized,VarN1,offset;
     35static int /*m_s,v_s,vectorized,VarN1,*/offset;
    3636static jList *T,*Q;
    3737static TreeM *G;
    38 static Poly *phD;
     38// static Poly *phD;
    3939static NodeM *FreeNodes;
    4040static int degree_compatible;
     
    193193{
    194194  Poly *f;
    195   int g1,f1,gg;
     195  // int g1,f1,gg;
    196196
    197197  if ((f=is_div_(F,p->lead))==NULL) return;
     
    246246
    247247  //if (TEST_OPT_PROT) { PrintS("R"); mflush(); }
    248   int old_size, count;
     248  int /*old_size, */count;
    249249  count=0;
    250250  while(f && p->root)
     
    303303int ValidatePoly(Poly *x, TreeM *F)
    304304{
    305   Poly *f,*g;
    306   int g1,f1;
     305  Poly /*f,*/*g;
     306  // int g1,f1;
    307307
    308308  if (x->root) return 1;
     
    971971}
    972972
    973 static Poly *h,*f;
     973static Poly *h/*,*f*/;
    974974
    975975void insert_in_G(Poly *x)
     
    998998int ComputeBasis(jList *_lT,jList *_lQ)
    999999{
    1000   int gb_l,i,ret_value=1;
     1000  // int gb_l,i,ret_value=1;
    10011001
    10021002  T=_lT; Q=_lQ;
  • Singular/links/ndbm.cc

    r367df9 r6909cfb  
    150150{
    151151  register int i;
    152   datum item;
     152  // datum item;
    153153
    154154  if (dbm_error(db))
  • Singular/links/pipeLink.cc

    r367df9 r6909cfb  
    166166    else
    167167    {
    168       fd_set  mask, fdmask;
     168      fd_set  mask/*, fdmask*/;
    169169      struct timeval wt;
    170170      /* Don't block. Return socket status immediately. */
  • Singular/links/ssiLink.cc

    r367df9 r6909cfb  
    289289  fprintf(d->f_write,"%d ",pLength(p));//number of terms
    290290  SSI_UNBLOCK_CHLD;
    291   int i;
     291  int j;
    292292
    293293  while(p!=NULL)
     
    298298    fprintf(d->f_write,"%ld ",p_GetComp(p,d->r));//component
    299299
    300     for(int j=1;j<=rVar(d->r);j++)
     300    for(j=1;j<=rVar(d->r);j++)
    301301    {
    302302      fprintf(d->f_write,"%ld ",p_GetExp(p,j,d->r ));//x^j
     
    416416  l=s_readint(d->f_read);
    417417  buf=(char*)omAlloc0(l+1);
    418   int c =s_getc(d->f_read); /* skip ' '*/
    419   int ll=s_readbytes(buf,l,d->f_read);
     418  /*int c =*/ (void) s_getc(d->f_read); /* skip ' '*/
     419  /*int ll=*/ (void) s_readbytes(buf,l,d->f_read);
    420420  //if (ll!=l) printf("want %d, got %d bytes\n",l,ll);
    421421  buf[l]='\0';
     
    528528{
    529529/* syntax is <ch> <N> <l1> <v1> ...<lN> <vN> <number of orderings> <ord1> <block0_1> <block1_1> .... */
    530   int ch, N,i,l;
     530  int ch, N,i/*,l*/;
    531531  char **names;
    532532  ch=s_readint(d->f_read);
     
    748748{
    749749  ssiInfo *d=(ssiInfo*)l->data;
    750   int throwaway=s_readint(d->f_read);
     750  /*int throwaway=*/ (void) s_readint(d->f_read);
    751751  char *name=ssiReadString(d);
    752752  int tok;
     
    891891        int sockfd, newsockfd, portno, clilen;
    892892        struct sockaddr_in serv_addr, cli_addr;
    893         int n;
     893        // int n;
    894894        sockfd = socket(AF_INET, SOCK_STREAM, 0);
    895895        if(sockfd < 0)
     
    952952        int sockfd, newsockfd, portno, clilen;
    953953        struct sockaddr_in serv_addr, cli_addr;
    954         int n;
     954        // int n;
    955955        sockfd = socket(AF_INET, SOCK_STREAM, 0);
    956956        if(sockfd < 0)
     
    10341034      {
    10351035        char* host = (char*)omAlloc(256);
    1036         int sockfd, portno, n;
     1036        int sockfd, portno/*, n*/;
    10371037        struct sockaddr_in serv_addr;
    10381038        struct hostent *server;
     
    14851485  && (strcmp(request, "read") == 0))
    14861486  {
    1487     fd_set  mask, fdmask;
     1487    fd_set  mask/*, fdmask*/;
    14881488    struct timeval wt;
    14891489    if (s_isready(d->f_read)) return "ready";
     
    18101810  }
    18111811  int portno;
    1812   int n;
     1812  // int n;
    18131813  ssiReserved_sockfd = socket(AF_INET, SOCK_STREAM, 0);
    18141814  if(ssiReserved_sockfd < 0)
  • Singular/utils.cc

    r367df9 r6909cfb  
    158158void printpi(procinfov pi)
    159159{
    160   char *buf, name[256];
    161   int len1, len2;
     160  // char *buf, name[256];
     161  // int len1, len2;
    162162  /* pi->libname is badly broken -- use file, instead */
    163163  FILE *fp = fopen( lib_file, "rb");
  • dyn_modules/bigintm/bigintm.cc

    r367df9 r6909cfb  
    4646  assume( l->Typ() == bigintm_type_id );
    4747 
    48   blackbox *ll=getBlackboxStuff(l->Typ());
     48  // blackbox *ll=getBlackboxStuff(l->Typ());
    4949 
    5050  if (r->Typ()>MAX_TOK)
     
    5252    if (bigintm_type_id == r->Typ())
    5353    {
    54       blackbox *rr=getBlackboxStuff(r->Typ());
     54      // blackbox *rr=getBlackboxStuff(r->Typ());
    5555     
    5656      if (l->Data()!=NULL) { number n1=(number)l->Data(); n_Delete(&n1,coeffs_BIGINT); }
     
    126126  assume( a1->Typ() == bigintm_type_id );
    127127 
    128   blackbox *a=getBlackboxStuff(a1->Typ());
     128  // blackbox *a=getBlackboxStuff(a1->Typ());
    129129  number n1=(number)a1->Data();
    130130  switch(op)
  • dyn_modules/syzextra/mod_main.cc

    r367df9 r6909cfb  
    819819static BOOLEAN reduce_syz(leftv res, leftv h)
    820820{
    821   const ring r = currRing;
     821  // const ring r = currRing;
    822822
    823823  if ( !( (h!=NULL) && (h->Typ()==VECTOR_CMD || h->Typ()==POLY_CMD) ) )
  • dyn_modules/syzextra/myNF.cc

    r367df9 r6909cfb  
    218218  // only global: avoid normalization, return a multiply of NF
    219219  poly   p;
    220   int   i;
     220  // int   i;
    221221
    222222  //if ((idIs0(F))&&(Q==NULL))
  • kernel/fast_maps.cc

    r367df9 r6909cfb  
    354354{
    355355  ring src_r, dest_r;
    356   ideal dest_id, res_id;
     356  ideal dest_id/*, res_id*/;
    357357  int length = 0;
    358358  BOOLEAN no_sort;
  • kernel/fglmgauss.cc

    r367df9 r6909cfb  
    7373gaussReducer::~gaussReducer()
    7474{
    75     int k;
    76 
    7775#ifndef HAVE_EXPLICIT_CONSTR
    7876    delete [] elems;
    7977#else
     78    int k;
    8079    for ( k= size; k > 0; k-- )
    8180        elems[k].~gaussElem();
     
    159158{
    160159    // fglmASSERT( size < max );
    161     number fac;
     160    // number fac;
    162161    // find the pivot-element in v:
    163162
  • kernel/gr_kstd2.cc

    r367df9 r6909cfb  
    972972  assume(rIsPluralRing(currRing));
    973973
    974   int i;
     974  // int i;
    975975//  idhdl h;
    976976 /* setting global variables ------------------- */
     
    10701070  assume(currRing->OrdSgn != -1); // no mora!!! it terminates only for global ordering!!! (?)
    10711071
    1072   intvec *w=NULL;
    1073   intvec *hilb=NULL;
     1072  // intvec *w=NULL;
     1073  // intvec *hilb=NULL;
    10741074  int   olddeg,reduc;
    10751075  int red_result=1;
    1076   int hilbeledeg=1,hilbcount=0,minimcnt=0;
     1076  int /*hilbeledeg=1,*/hilbcount=0/*,minimcnt=0*/;
    10771077
    10781078  initBuchMoraCrit(strat); /*set Gebauer, honey, sugarCrit*/
  • kernel/ideals.cc

    r367df9 r6909cfb  
    939939             BOOLEAN isSB, BOOLEAN divide, matrix *unit)
    940940{
    941   int lsmod =id_RankFreeModule(submod,currRing), i, j, k;
     941  int lsmod =id_RankFreeModule(submod,currRing), j, k;
    942942  int comps_to_add=0;
    943943  poly p;
  • kernel/kspoly.cc

    r367df9 r6909cfb  
    394394  poly a1 = pNext(p1), a2 = pNext(p2);
    395395  number lc1 = pGetCoeff(p1), lc2 = pGetCoeff(p2);
    396   int co=0, ct = ksCheckCoeff(&lc1, &lc2, currRing->cf); // gcd and zero divisors
     396  int co=0/*, ct = ksCheckCoeff(&lc1, &lc2, currRing->cf)*/; // gcd and zero divisors
     397  (void) ksCheckCoeff(&lc1, &lc2, currRing->cf);
    397398
    398399  int l1=0, l2=0;
  • kernel/kstd2.cc

    r367df9 r6909cfb  
    197197  int a_ind2 = ind2(a);
    198198
    199   NATNUMBER k = 1;
     199  // NATNUMBER k = 1;
    200200  // of interest is only k_ind2, special routine for improvement ... TODO OLIVER
    201201  for (int i = 1; i <= leadRing->N; i++)
     
    303303  if (strat->tl<0) return 1;
    304304
    305   int at,i;
     305  int at/*,i*/;
    306306  long d;
    307307  int j = 0;
    308308  int pass = 0;
    309   poly zeroPoly = NULL;
     309  // poly zeroPoly = NULL;
    310310
    311311// TODO warum SetpFDeg notwendig?
  • kernel/kstdfac.cc

    r367df9 r6909cfb  
    161161kStrategy kStratCopy(kStrategy o)
    162162{
    163   int i;
     163  // int i;
    164164  assume(kTest_TS(o));
    165165  kStrategy s=new skStrategy;
  • kernel/kutil.cc

    r367df9 r6909cfb  
    846846{
    847847  int i, j;
    848   BOOLEAN ret = TRUE;
     848  // BOOLEAN ret = TRUE;
    849849  kFalseReturn(kTest(strat));
    850850
     
    17401740              // the corresponding signatures for criteria checks
    17411741  LObject  Lp;
    1742   poly last;
     1742  // poly last;
    17431743  poly pSigMult = p_Copy(pSig,currRing);
    17441744  poly sSigMult = p_Copy(strat->sig[i],currRing);
     
    88288828  int j;
    88298829
    8830   poly q, s;
     8830  poly q/*, s*/;
    88318831
    88328832  // for the 0th shift: insert the orig. pair
  • kernel/preimage.cc

    r367df9 r6909cfb  
    7878 
    7979  int i,j;
    80   poly p,pp,q;
     80  poly p,/*pp,*/q;
    8181  ideal temp1;
    8282  ideal temp2;
  • kernel/syz.cc

    r367df9 r6909cfb  
    222222void syGaussForOne(ideal syz, int elnum, int ModComp,int from,int till)
    223223{
    224   int k,j,i,lu;
     224  int /*k,j,i,*/lu;
    225225  poly unit1,unit2;
    226226  poly actWith=syz->m[elnum];
     
    249249static void syDeleteAbove1(ideal up, int k)
    250250{
    251   poly p,pp;
     251  poly p/*,pp*/;
    252252  if (up!=NULL)
    253253  {
  • kernel/syz0.cc

    r367df9 r6909cfb  
    173173  if (Fl==0) return result;
    174174
    175   int i,j,l,k,totalToRed,ecartToRed,kk,kkk;
     175  int i,j,l,k,totalToRed,ecartToRed,kk;
    176176  int bestEcart,totalmax,rkF,Sl=0,smax,tmax,tl;
    177177  int *ecartS, *ecartT, *totalS,
    178178    *totalT=NULL, *temp=NULL;
    179   polyset pairs,S,T,ST,oldF;
     179  polyset pairs,S,T,ST/*,oldF*/;
    180180  poly p,q,toRed;
    181181  BOOLEAN notFound = FALSE;
     
    342342#else
    343343          l = (**modcomp)[pGetComp(toRed)];
    344           kkk = (**modcomp)[pGetComp(toRed)+1];
     344          int kkk = (**modcomp)[pGetComp(toRed)+1];
    345345          while ((l<kkk) && (notFound))
    346346#endif
     
    510510  ideal result=idInit(16,Fl);
    511511  int i,j,l,k,kkk,rkF,Sl=0,syComponentOrder=currRing->ComponentOrder;
    512   int fstart,wend,lini,ltR,gencQ=0;
     512  int /*fstart,*/wend,lini,ltR,gencQ=0;
    513513  intvec *newmodcomp;
    514514  int *Flength;
    515515  polyset pairs,F=arg->m,*Shdl=&(result->m);
    516   poly p,q,toRed,syz,lastmonom,multWith;
     516  poly /*p,*/q,toRed,syz,lastmonom,multWith;
    517517  BOOLEAN isNotReduced=TRUE;
    518518
     
    577577        {
    578578          number an=nCopy(pGetCoeff(F[k])),bn=nCopy(pGetCoeff(F[j]));
    579           int ct = ksCheckCoeff(&an, &bn, currRing->cf);
     579          /*int ct =*/ (void) ksCheckCoeff(&an, &bn, currRing->cf);
    580580          syz = pCopy(pairs[k]);
    581581          //syz->coef = nCopy(F[k]->coef);
     
    867867  int i,syzIndex = 0,j=0;
    868868  intvec * modcomp=NULL,*w=NULL;
    869   int ** wv=NULL;
     869  // int ** wv=NULL;
    870870  tHomog hom=(tHomog)idHomModule(arg,NULL,&w);
    871871  ring origR = currRing;
     
    10171017  if (fr==NULL) return NULL;
    10181018
    1019   int typ0;
     1019  // int typ0;
    10201020  syStrategy result=(syStrategy)omAlloc0(sizeof(ssyStrategy));
    10211021  result->length=rl;
  • kernel/syz3.cc

    r367df9 r6909cfb  
    112112            ideal old_repr,int old_tl, poly next_generator,resolvente totake)
    113113{
    114   int index=syzstr->length-1,i,j,start,start_ttk,new_tl;
     114  int index=syzstr->length-1,i,j,start,start_ttk/*,new_tl*/;
    115115  poly gen=pCopy(next_generator),p;
    116116  poly neg_gen=pCopy(next_generator);
     
    656656  int toReplace=0;
    657657  int i,j,syz_l;
    658   number coefgcd,n;
     658  number /*coefgcd,*/n;
    659659  polyset ogm=old_generators->m;
    660660  poly p;
     
    941941  int * ogm_l=(int*)omAlloc0(IDELEMS(syzstr->res[index])*sizeof(int));
    942942  int * orp_l=(int*)omAlloc0(IDELEMS(syzstr->orderedRes[index])*sizeof(int));
    943   int t1=IDELEMS(syzstr->res[index]),t2=IDELEMS(syzstr->orderedRes[index]);
     943  // int t1=IDELEMS(syzstr->res[index]),t2=IDELEMS(syzstr->orderedRes[index]);
    944944 
    945945  for (j=IDELEMS(syzstr->res[index])-1;j>=0;j--)
     
    17531753syStrategy syKosz(ideal arg,int * length)
    17541754{
    1755   int i,j,jj,k=0,index=0,rk_arg,next_syz=0;
     1755  int i,j,jj,k=0,index=0,rk_arg/*,next_syz=0*/;
    17561756  int crit_comp,t_comp,next_deg,old_tl;
    17571757  ideal temp=NULL,old_ideal,old_repr;
  • libpolys/polys/ext_fields/algext.cc

    r367df9 r6909cfb  
    972972{
    973973  if (n_IsZero(a, src)) return NULL;
    974   int p = rChar(dst->extRing);
     974  // int p = rChar(dst->extRing);
    975975
    976976  number q = nlModP(a, src, dst->extRing->cf);
  • libpolys/polys/ext_fields/transext.cc

    r367df9 r6909cfb  
    15391539  assume( n_Test(a, src) );
    15401540  if (n_IsZero(a, src)) return NULL;
    1541   int p = rChar(dst->extRing);
     1541  // int p = rChar(dst->extRing);
    15421542  number q = nlModP(a, src, dst->extRing->cf);
    15431543
  • libpolys/polys/monomials/ring.cc

    r367df9 r6909cfb  
    16831683    return FALSE;
    16841684
    1685   int i, j;
     1685  int i/*, j*/;
    16861686
    16871687  if (r1 == r2) return TRUE;
  • libpolys/polys/nc/ncSACache.cc

    r367df9 r6909cfb  
    2727#endif
    2828
     29#if OUTPUT
    2930namespace
    3031{
    3132  static const char* m_Typenames[2] = {"lookup", "store"};
    3233}
     34#endif
    3335
    3436#include <coeffs/numbers.h>
  • libpolys/polys/templates/p_Procs_Set.h

    r367df9 r6909cfb  
    198198void p_Debug_GetSpecNames(const ring r, const char* &field, const char* &length, const char* &ord)
    199199{
    200   p_Field     e_field = p_FieldIs(r);
    201   p_Length    e_length = p_LengthIs(r);
    202   p_Ord       e_ord = p_OrdIs(r);
     200  /*p_Field     e_field =*/ (void) p_FieldIs(r);
     201  /*p_Length    e_length =*/ (void) p_LengthIs(r);
     202  /*p_Ord       e_ord =*/ (void) p_OrdIs(r);
    203203
    204204  field  = p_FieldEnum_2_String(p_FieldIs(r));
  • libpolys/reporter/dError.cc

    r367df9 r6909cfb  
    5050#ifdef HAVE_EXECINFO_H
    5151#define SIZE 50
    52   void *buffer[SIZE+1]; int i, j, k, ret, status; char **ptr; char *demangledName; char *s; char *ss;
     52  void *buffer[SIZE+1]; int ret;
    5353#endif
    5454
     
    7373  backtrace_symbols_fd(buffer, ret, STDERR_FILENO); // execinfo.h
    7474#else
    75   ptr = backtrace_symbols( buffer, ret ); // execinfo.h
     75  char **ptr = backtrace_symbols( buffer, ret ); // execinfo.h
    7676
    77   for (i = 0; i < ret; i++)
     77  int status;
     78  char *demangledName;
     79  char *s;
     80  char *ss;
     81  for (int i = 0; i < ret; i++)
    7882  {
    7983    status = -1;
  • numeric/mpr_base.cc

    r367df9 r6909cfb  
    17391739ideal resMatrixSparse::getMatrix()
    17401740{
    1741   int i,j,cp;
     1741  int i,/*j,*/cp;
    17421742  poly pp,phelp,piter,pgls;
    17431743
  • numeric/mpr_inout.cc

    r367df9 r6909cfb  
    110110{
    111111  mprState state = mprOk;
    112   int power;
     112  // int power;
    113113  int k;
    114114
Note: See TracChangeset for help on using the changeset viewer.