From 0d846271d6a1793a1d75022463ecff72a28da516 Mon Sep 17 00:00:00 2001 From: joncruz Date: Sat, 1 Mar 2008 09:02:46 +0000 Subject: [PATCH] Fixed uninitialized members --- src/libnr/nr-rect.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libnr/nr-rect.h b/src/libnr/nr-rect.h index fc4d617df..5d897c695 100644 --- a/src/libnr/nr-rect.h +++ b/src/libnr/nr-rect.h @@ -252,7 +252,9 @@ struct NRMatrix; /* NULL rect is infinite */ struct NRRect { - NRRect() {} + NRRect() + : x0(0), y0(0), x1(0), y1(0) + {} NRRect(NR::Coord xmin, NR::Coord ymin, NR::Coord xmax, NR::Coord ymax) : x0(xmin), y0(ymin), x1(xmax), y1(ymax) {} -- 2.30.2