Skip to content

Commit 6539910

Browse files
committed
Remove unused code.
1 parent f42772b commit 6539910

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/robotjs.cc

-6
Original file line numberDiff line numberDiff line change
@@ -693,12 +693,6 @@ NAN_METHOD(getColor)
693693

694694
bitmap = createMMBitmap(data, width, height, byteWidth, bitsPerPixel, bytesPerPixel);
695695

696-
/*if (bitmap != NULL)
697-
{
698-
bitmap->imageBuffer = malloc(bitmap->bytewidth * bitmap->height);
699-
memcpy(bitmap->imageBuffer, buf, bitmap->bytewidth * bitmap->height);
700-
}*/
701-
702696
color = MMRGBHexAtPoint(bitmap, x, y);
703697

704698
char hex[7];

0 commit comments

Comments
 (0)