]> code.delx.au - gnu-emacs/blobdiff - src/nsimage.m
Fix NS warnings.
[gnu-emacs] / src / nsimage.m
index 4d01419edf901404bd518273cf7870647d2645d7..9302cd2f2122c40df000671d088f4e01ada9eb46 100644 (file)
@@ -211,7 +211,6 @@ ns_set_alpha (void *img, int x, int y, unsigned char a)
 - initFromXBM: (unsigned char *)bits width: (int)w height: (int)h
            fg: (unsigned long)fg bg: (unsigned long)bg
 {
-  int bpr = (w + 7) / 8;
   unsigned char *planes[5];
 
   [self initWithSize: NSMakeSize (w, h)];