diff --git a/src/core/context.c b/src/core/context.c index 3c470e2..d29accc 100644 --- a/src/core/context.c +++ b/src/core/context.c @@ -53,9 +53,8 @@ gchar *png; unsigned char hash[SHA_DIGEST_LENGTH]; /* == 20 */ char xHash[SHA_DIGEST_LENGTH*2+1]; // always use two characters for hex encoding one byte - char tmp[3]; xmpp_stanza_t *iq, *pubsub, *publish, *item, *data, *dt, *metadata, *info; - int i,j; + int i; /* 1. Create IQ 'set' stanza */ iq = xmpp_stanza_new(bctx->ctx); @@ -92,13 +91,8 @@ memset(xHash, 0, 2*SHA_DIGEST_LENGTH+1); if(g_file_get_contents(bctx->avatarFile->str, &png, &length, NULL)) { SHA1((const unsigned char*)png, length, hash); - j = 0; for(i=0; i