add: v++;
context: static struct AHIDevUnit *InitUnit( ULONG unit, struct AHIBase *AHIBase ){  struct AHIDevUnit *iounit;  struct TagItem NPTags[]=  {    NP_Entry,     0,    NP_Name,      0,    NP_Priority,  AHI_PRI ,    TAG_DONE,     0  };  struct MsgPort *replyport;  if( unit == AHI_NO_UNIT )  {    ReadConfig(NULL,AHIBase);    return NULL;  }  else if(!AHIBase->ahib_DevUnits[unit])  {    if(iounit = AllocVec(sizeof(struct AHIDevUnit), MEMF_CLEAR|MEMF_PUBLIC))    {      NewList(&iounit->Unit.unit_MsgPort.mp_MsgList);      iounit->Unit.unit_MsgPort.mp_Node.ln_Type = NT_MSGPORT;      iounit->Unit.unit_MsgPort.mp_Flags = PA_IGNORE;      iounit->Unit.unit_MsgPort.mp_Node.ln_Name = DevName;      iounit->UnitNum = unit;      InitSemaphore(&iounit->ListLock);      NewList((struct List *)&iounit->ReadList);      NewList((struct List *)&iounit->PlayingList);      NewList((struct List *)&iounit->SilentList);      NewList((struct List *)&iounit->WaitingList);      NewList((struct List *)&iounit->RequestQueue);      if(ReadConfig(iounit,AHIBase))      {        if(iounit->Voices = AllocVec(            sizeof(struct Voice)*iounit->Channels,MEMF_PUBLIC|MEMF_CLEAR))        {          int i;          struct Voice *v = iounit->Voices;                    // Mark all channels as free          for(i = 0 ; i < iounit->Channels; i++)          {            v->NextOffset = FREE;          }                    if(replyport = CreateMsgPort())          {            AHIBase->ahib_Startup.Msg.mn_ReplyPort = replyport;            AHIBase->ahib_Startup.Unit = iounit;            NPTags[0].ti_Data = (ULONG) &DevProcEntry;            NPTags[1].ti_Data = (ULONG) &DevName;       /* Process name */            if(iounit->Process = CreateNewProc(NPTags))            {                  PutMsg(&iounit->Process->pr_MsgPort,&AHIBase->ahib_Startup.Msg);                WaitPort(replyport);                GetMsg(replyport);            }            DeleteMsgPort(replyport);          }        }      }      if(!iounit->Process)        FreeVec(iounit);      else        AHIBase->ahib_DevUnits[unit] = iounit;    }  }  return AHIBase->ahib_DevUnits[unit];}