summaryrefslogtreecommitdiffstats
path: root/pobject.c
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2009-05-27 16:22:23 +0200
committerRob Crittenden <rcritten@redhat.com>2009-05-29 12:55:43 -0400
commit5ad2940670b06e0d9ed2db03ea362385d73e86cb (patch)
tree187c5c753c9bc4325473b1929eac17b7db4d6d94 /pobject.c
parent27654eb42b27e296bb2375aa929b550daadc4d81 (diff)
downloadpemnss-5ad2940670b06e0d9ed2db03ea362385d73e86cb.tar.gz
pemnss-5ad2940670b06e0d9ed2db03ea362385d73e86cb.tar.xz
pemnss-5ad2940670b06e0d9ed2db03ea362385d73e86cb.zip
Fix gcc warnings.
500815
Diffstat (limited to 'pobject.c')
-rw-r--r--pobject.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pobject.c b/pobject.c
index 0e968dc..96204e9 100644
--- a/pobject.c
+++ b/pobject.c
@@ -915,7 +915,7 @@ pem_mdObject_GetObjectSize
CK_RV * pError
)
{
- pemInternalObject *io = (pemInternalObject *) mdObject->etc;
+ /* pemInternalObject *io = (pemInternalObject *) mdObject->etc; */
CK_ULONG rv = 1;
/* size is irrelevant to this token */
@@ -980,7 +980,8 @@ pem_CreateObject
CK_BBOOL cacert;
char *filename;
SECItem **derlist = NULL;
- int nobjs, i;
+ int nobjs = 0;
+ int i;
int objid, count, size;
pemToken *token;
int cipher;