Commits

Takeshi Abe committed 0cc20aa

micro optimization: avoid unnecessary initialization

  • Participants
  • Parent commits 1de48a8

Comments (0)

Files changed (1)

   for (i = 0; (i < gdMaxColors); i++)
     {
       im->open[i] = 1;
-      im->red[i] = 0;
-      im->green[i] = 0;
-      im->blue[i] = 0;
     };
   im->trueColor = 0;
   im->tpixels = 0;