From e7db989214f1e36f1ef6779299c6ecb8ac61c367 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Sat, 1 Mar 2008 09:02:46 +0000 Subject: Fixed uninitialized members (bzr r4912) --- src/libnr/nr-rect.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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) {} -- cgit v1.2.3