Changeset 654726 in git


Ignore:
Timestamp:
Feb 21, 2014, 6:08:14 PM (10 years ago)
Author:
Max Horn <max@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
95eeda3a1e872aa8bf8c2026afc43e8f691af0fb
Parents:
f3703ede5c22d96bd2f3453cbb4d60e88ccec264
Message:
Silence some warnings about unused code
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • Singular/janet.cc

    rf3703e r654726  
    793793}
    794794
     795#if 0
    795796static void go_right(NodeM *current,poly_function disp)
    796797{
     
    803804}
    804805
    805 #if 0
    806806void ForEach(TreeM *t,poly_function disp)
    807807{
  • Singular/walk.cc

    rf3703e r654726  
    437437#endif
    438438
     439#ifdef CHECK_IDEAL_MWALK
    439440static void idString(ideal L, const char* st)
    440441{
     
    448449  Print(" %s;", pString(L->m[nL-1]));
    449450}
    450 
    451 //unused
    452 //#if 0
     451#endif
     452
     453#if defined(CHECK_IDEAL_MWALK) || defined(ENDWALKS)
    453454static void headidString(ideal L, char* st)
    454455{
     
    462463  Print(" %s;", pString(pHead(L->m[nL-1])));
    463464}
    464 //#endif
    465 
    466 //unused
    467 //#if 0
     465#endif
     466
     467#if defined(CHECK_IDEAL_MWALK) || defined(ENDWALKS)
    468468static void idElements(ideal L, char* st)
    469469{
     
    503503  omFree(K);
    504504}
    505 //#endif
     505#endif
    506506
    507507
     
    47774777    }
    47784778
    4779   NEXT_VECTOR:
     4779  //NEXT_VECTOR:
    47804780    to = clock();
    47814781    //intvec* next_weight = MkInterRedNextWeight(curr_weight,target_weight,G);
  • kernel/syz0.cc

    rf3703e r654726  
    772772}
    773773
     774#if 0
    774775static void syMergeSortResolventFB(resolvente res,int length, int initial=1)
    775776{
     
    826827  }
    827828}
     829#endif
    828830
    829831BOOLEAN syTestOrder(ideal M)
  • libpolys/coeffs/bigintmat.cc

    rf3703e r654726  
    2020#include <string.h>
    2121
     22#if 0
    2223// Ungetestet
    2324static void bimRowContent(bigintmat *bimat, int rowpos, int colpos);
    2425static void bimReduce(bigintmat *bimat, int rpiv, int colpos,
    2526                      int ready, int all);
    26 
     27#endif
    2728
    2829
     
    688689}
    689690
     691#if 0
    690692// Ungetestet
    691693// (According to C. Fieker) Seems to have a lot of memory leaks (pure adaptation of the
     
    772774  }
    773775}
     776#endif
    774777
    775778// columnwise concatination of two bigintmats
  • libpolys/polys/clapconv.cc

    rf3703e r654726  
    3434static void convRecTrP ( const CanonicalForm & f, int * exp, poly & result, int offs, const ring r );
    3535
    36 static void convRecGFGF ( const CanonicalForm & f, int * exp, poly & result );
     36//static void convRecGFGF ( const CanonicalForm & f, int * exp, poly & result );
    3737
    3838static number convFactoryNSingAN( const CanonicalForm &f, const ring r);
  • libpolys/polys/kbuckets.cc

    rf3703e r654726  
    11621162  return rn;
    11631163}
    1164 static BOOLEAN nIsPseudoUnit(number n, ring r)
    1165 {
    1166   if (rField_is_Zp(r))
    1167     return TRUE;
    1168 
    1169   if (rParameter(r)==NULL)
    1170   {
    1171     return (n_Size(n,r->cf)==1);
    1172   }
    1173   //if (r->parameter!=NULL)
    1174   return (n_IsOne(n,r->cf) || n_IsMOne(n,r->cf));
    1175 }
    11761164
    11771165#ifndef USE_COEF_BUCKETS
    11781166void kBucketSimpleContent(kBucket_pt) {}
    11791167#else
     1168static BOOLEAN nIsPseudoUnit(number n, ring r)
     1169{
     1170  if (rField_is_Zp(r))
     1171    return TRUE;
     1172
     1173  if (rParameter(r)==NULL)
     1174  {
     1175    return (n_Size(n,r->cf)==1);
     1176  }
     1177  //if (r->parameter!=NULL)
     1178  return (n_IsOne(n,r->cf) || n_IsMOne(n,r->cf));
     1179}
     1180
    11801181void kBucketSimpleContent(kBucket_pt bucket)
    11811182{
  • libpolys/reporter/dError.cc

    rf3703e r654726  
    5050int dReportError(const char* fmt, ...)
    5151{
     52#if 0
    5253#ifdef HAVE_EXECINFO_H
    5354#define SIZE 50
    5455  void *buffer[SIZE+1]; int ret;
     56#endif
    5557#endif
    5658
Note: See TracChangeset for help on using the changeset viewer.