From 12d1262c3f7bf8990aecafdefccb312b25916d8c Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Mon, 26 Nov 2012 20:38:03 +0100 Subject: [PATCH 2/2] Fix uninitaliazed warning in CairoOutputDev Fix warning: CXX CairoOutputDev.lo ../../poppler/poppler/CairoOutputDev.cc: In member function 'virtual void RescaleDrawImage::getRow(int, uint32_t*)': ../../poppler/poppler/CairoOutputDev.cc:2813:25: warning: 'pix' may be used uninitialized in this function [-Wuninitialized] --- poppler/CairoOutputDev.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc index 2772bd1..f3fb49e 100644 --- a/poppler/CairoOutputDev.cc +++ b/poppler/CairoOutputDev.cc @@ -2797,7 +2797,7 @@ public: int i; Guchar *pix; - if (row_num == current_row) + if (row_num <= current_row) return; while (current_row < row_num) { -- 1.7.5.4