gphoto2.ds: remove unused variable

Austin English austinenglish at gmail.com
Tue Jul 20 23:35:54 CDT 2010


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/gphoto2.ds/ds_image.c b/dlls/gphoto2.ds/ds_image.c
index ec29eff..a106e30 100644
--- a/dlls/gphoto2.ds/ds_image.c
+++ b/dlls/gphoto2.ds/ds_image.c
@@ -575,7 +575,7 @@ _get_gphoto2_file_as_DIB(
     struct jpeg_error_mgr		jerr;
     HDC 		dc;
     BITMAPINFO 		bmpInfo;
-    LPBYTE		bits, oldbits;
+    LPBYTE		bits;
     JSAMPROW		samprow, oldsamprow;
 
     if(!libjpeg_handle) {
@@ -648,7 +648,6 @@ _get_gphoto2_file_as_DIB(
 	return TWRC_FAILURE;
     }
     samprow = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,jd.output_width*jd.output_components);
-    oldbits = bits;
     oldsamprow = samprow;
     while ( jd.output_scanline<jd.output_height ) {
 	int i, x = pjpeg_read_scanlines(&jd,&samprow,1);


More information about the wine-patches mailing list