diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2011-11-10 22:23:06 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2011-11-10 22:23:06 +0000 |
| commit | 57558641a9819e4da97bc014ac35f9323306ae1f (patch) | |
| tree | 4ef9ae0a5cea8376a1750f58e167088e4629ca6d /src/xml/repr-css.cpp | |
| parent | lpe: add slider to scalar param optionally (does not work very well yet) (diff) | |
| download | inkscape-57558641a9819e4da97bc014ac35f9323306ae1f.tar.gz inkscape-57558641a9819e4da97bc014ac35f9323306ae1f.zip | |
cppcheck: initialization / warning cleanup
(bzr r10736)
Diffstat (limited to 'src/xml/repr-css.cpp')
| -rw-r--r-- | src/xml/repr-css.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/repr-css.cpp b/src/xml/repr-css.cpp index 8de85c36d..ced4f5da4 100644 --- a/src/xml/repr-css.cpp +++ b/src/xml/repr-css.cpp @@ -307,7 +307,7 @@ sp_repr_css_merge_from_decl(SPCSSAttr *css, CRDeclaration const *const decl) // the additional benefit of respecting the numerical precission set in the SVG Output // preferences. We assume any numerical part comes first (if not, the whole string is copied). std::stringstream ss( value_unquoted ); - double number; + double number = 0; std::string characters; std::string temp; bool number_valid = !(ss >> number).fail(); |
