diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-03-01 09:02:46 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-03-01 09:02:46 +0000 |
| commit | e7db989214f1e36f1ef6779299c6ecb8ac61c367 (patch) | |
| tree | c7685260d949cd1e03dfc7b557f718cc3edab78f /src | |
| parent | r18226@shi: ted | 2008-02-29 15:00:33 -0800 (diff) | |
| download | inkscape-e7db989214f1e36f1ef6779299c6ecb8ac61c367.tar.gz inkscape-e7db989214f1e36f1ef6779299c6ecb8ac61c367.zip | |
Fixed uninitialized members
(bzr r4912)
Diffstat (limited to 'src')
| -rw-r--r-- | src/libnr/nr-rect.h | 4 |
1 files changed, 3 insertions, 1 deletions
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) {} |
