PRBool checkValue;
PRBool checkValue = PR_FALSE;
WLLT_OKToCapture(PRBool * result, PRInt32 count, char* urlName) {  nsAutoString * url = new nsAutoString(urlName);//  static int level = 0;  /* see if this url is already on list of url's for which we don't want to capture */  wallet_InitializeURLList();  XP_List* URL_list = wallet_URL_list;  XP_List* dummy;  nsAutoString * value = new nsAutoString("nn");  if (wallet_ReadFromList(*url, *value, dummy, URL_list)) {    if (value->CharAt(NO_CAPTURE) == 'y') {      *result = PR_FALSE;      return;    }  }//  if (level > 0) {//    *result = PR_FALSE;//    return;//  }//  level++;  /* ask user if we should capture the values on this form */  if (wallet_GetFormsCapturingPref() && (count>=3)) {    char * message = Wallet_Localize("WantToCaptureForm?");    char * checkMessage = Wallet_Localize("NeverSave");    PRBool checkValue;    *result = Wallet_CheckConfirm(message, checkMessage, &checkValue);    if (!(*result)) {      if (checkValue) {        /* add URL to list with NO_CAPTURE indicator set */        value->SetCharAt('y', NO_CAPTURE);        wallet_WriteToList(*url, *value, dummy, wallet_URL_list, DUP_OVERWRITE);        wallet_WriteToFile("URL.tbl", wallet_URL_list, PR_FALSE);      } else {        delete url;      }    }    PR_FREEIF(checkMessage);    PR_FREEIF(message);  } else {    *result = PR_FALSE;  }//  level--;}