Code Duplication    Length = 4-4 lines in 2 locations

thumbs/phpthumb.gif.php 2 locations

@@ 297-300 (lines=4) @@
294
                $this->Vals[$i] = $i;
295
            }
296
297
            for (; $i < (1 << $this->MAX_LZW_BITS); $i++) {
298
                $this->Next[$i] = 0;
299
                $this->Vals[$i] = 0;
300
            }
301
302
            $this->sp = 0;
303
@@ 330-333 (lines=4) @@
327
                    $this->Vals[$i] = $i;
328
                }
329
330
                for (; $i < (1 << $this->MAX_LZW_BITS); $i++) {
331
                    $this->Next[$i] = 0;
332
                    $this->Vals[$i] = 0;
333
                }
334
335
                $this->CodeSize    = $this->SetCodeSize + 1;
336
                $this->MaxCodeSize = $this->ClearCode << 1;