diff aes.c @ 195:d36946d9907e libavutil

fix 2 warnings
author michael
date Sun, 14 Jan 2007 19:58:41 +0000
parents 3d5efe2de0ae
children b1ad10c8f362
line wrap: on
line diff
--- a/aes.c	Sun Jan 14 19:51:23 2007 +0000
+++ b/aes.c	Sun Jan 14 19:58:41 2007 +0000
@@ -99,7 +99,7 @@
     crypt(a, 2, sbox, enc_multbl);
 }
 
-static init_multbl2(uint8_t tbl[1024], int c[4], uint8_t *log8, uint8_t *alog8, uint8_t *sbox){
+static void init_multbl2(uint8_t tbl[1024], int c[4], uint8_t *log8, uint8_t *alog8, uint8_t *sbox){
     int i;
     for(i=0; i<1024; i++){
         int x= sbox[i/4];
@@ -192,7 +192,7 @@
 #ifdef TEST
 
 int main(){
-    int i,j,k;
+    int i,j;
     AVAES *ae= av_aes_init("PI=3.141592654..", 128, 0);
     AVAES *ad= av_aes_init("PI=3.141592654..", 128, 1);
     uint8_t zero[16]= {0};