Assign a ** static pointer an actual value instead of just sayin *val = NULL;

This commit is contained in:
javi%netscape.com 2000-09-01 22:47:22 +00:00
Родитель 335bb30339
Коммит 2f2eed1e57
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -777,6 +777,7 @@ SSM_CertListKeywordHandler(SSMTextGenContext *cx)
ssmCLState state; ssmCLState state;
SSMResourceType targetType = SSM_RESTYPE_NULL; SSMResourceType targetType = SSM_RESTYPE_NULL;
PRIntn certType[clAllCA+1]; PRIntn certType[clAllCA+1];
SSMSortedList *nullHash = NULL;
certType[clAllMine] = 0x00000001; certType[clAllMine] = 0x00000001;
certType[clEmailRecipient] = 0x00000010; certType[clEmailRecipient] = 0x00000010;
@ -843,7 +844,7 @@ SSM_CertListKeywordHandler(SSMTextGenContext *cx)
state.hash = &((SSMSecurityAdvisorContext *)target)->m_certhash; state.hash = &((SSMSecurityAdvisorContext *)target)->m_certhash;
} }
else else
*state.hash = NULL; state.hash = &nullHash;
state.output = state.temp = NULL; state.output = state.temp = NULL;