Browse Source

Remove unused variables

tags/v1.0
Bernhard Fröhlich 5 years ago
parent
commit
1259e0e9f6
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      drmdecrypt.c

+ 2
- 4
drmdecrypt.c View File

@@ -149,7 +149,7 @@ int genoutfilename(char *outfile, char *inffile)
149 149
 
150 150
 int decrypt_aes128cbc(unsigned char *pin, int len, unsigned char *pout)
151 151
 {
152
-   int i, j;
152
+   int i;
153 153
 
154 154
    if(len % BLOCK_SIZE != 0)
155 155
    {
@@ -219,9 +219,7 @@ int decrypt_aes128cbc(unsigned char *pin, int len, unsigned char *pout)
219 219
  */
220 220
 int decode_packet(unsigned char *data, unsigned char *outdata)
221 221
 {
222
-   unsigned char iv[0x10];
223
-   unsigned int i, n;
224
-   int offset, rounds;
222
+   int offset;
225 223
    int scrambling, adaptation;
226 224
 
227 225
    if(data[0] != 0x47)

Loading…
Cancel
Save