From: joncruz Date: Sat, 1 Mar 2008 09:02:46 +0000 (+0000) Subject: Fixed uninitialized members X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0d846271d6a1793a1d75022463ecff72a28da516;p=inkscape.git Fixed uninitialized members --- 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) {}