commit 2816c20ff8c70fa2151fe41eca371397cedbb3e3
parent d0398f5785cc113a3cd20660e0a79c347069d415
Author: sin <sin@2f30.org>
Date: Tue, 29 Jul 2014 12:52:10 +0100
After reworking the code png_row doesn't need to be explicitly initialized
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/if2png.c b/if2png.c
@@ -25,7 +25,7 @@ main(int argc, char *argv[])
{
png_structp png_struct_p;
png_infop png_info_p;
- uint8_t hdr[17], *png_row = NULL;
+ uint8_t hdr[17], *png_row;
png_uint_32 width, height, i;
png_size_t png_row_len;