Changeset ff7e529 in git


Ignore:
Timestamp:
Mar 10, 2007, 2:02:00 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
532688913ca1a3834971cb7144d0ae484dcd34af
Parents:
01ad008855f5c98da99460a9bb73ac58286cec20
Message:
*hannes: code cleanup


git-svn-id: file:///usr/local/Singular/svn/trunk@9931 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/subexpr.cc

    r01ad00 rff7e529  
    55* ABSTRACT: handling of leftv
    66*/
    7 /* $Id: subexpr.cc,v 1.96 2007-03-08 12:28:52 Singular Exp $ */
     7/* $Id: subexpr.cc,v 1.97 2007-03-10 13:02:00 Singular Exp $ */
    88
    99#include <stdlib.h>
     
    283283      case MODUL_CMD:
    284284      case IDEAL_CMD:
    285         if ((((long)data) & 3)==0)
    286         {
    287           if (r!=NULL) id_Delete((ideal *)(&data),r);
    288         }
    289         else
    290         {
    291           //printf("ptr err.\n");
    292           data=NULL;
    293         }
     285        if ((((long)data) & 3)==0)
     286        {
     287          if(r!=NULL) id_Delete((ideal *)(&data),r);
     288        }
    294289        break;
    295290      case STRING_CMD:
    296           omFree((ADDRESS)data);
     291        omFree((ADDRESS)data);
    297292        break;
    298293      case POLY_CMD:
     
    360355#endif
    361356    } /* end switch: (rtyp) */
    362     //data=NULL;
     357    //data=NULL; // will be done by Init() at the end
    363358  }
    364359  if (attribute!=NULL)
     
    387382      case LIB_CMD:
    388383      case 0:
    389         //attribute=NULL;
     384        //attribute=NULL; // will be done by Init() at the end
    390385        break;
    391386      default:
     
    408403    e=h;
    409404  }
    410   //rtyp=NONE;
     405  //rtyp=NONE; // will be done by Init() at the end
    411406  if (next!=NULL)
    412407  {
     
    12501245  //  Print("setting req_packhdl to %s\n",IDID(packhdl));
    12511246    v->req_packhdl = IDPACKAGE(packhdl);
    1252   } 
     1247  }
    12531248  else v->req_packhdl = currPack;
    12541249//  if (v->req_packhdl!=basePack)
     
    14251420      h=basePack->idroot->get(id,myynest);
    14261421      if (h!=NULL)
    1427       { 
     1422      {
    14281423        if (id!=IDID(h)) omFree((ADDRESS)id);
    14291424        v->rtyp = IDHDL;
Note: See TracChangeset for help on using the changeset viewer.