From 2608034f3607bfacf354151097c28be36b6c0a8c Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Sun, 4 Dec 2011 22:03:12 +0100 Subject: cppcheck - dropped unused variable - changed use of obsolute function 'alloca' (see http://stackoverflow.com/questions/1018853/why-is-alloca-not-considered-good-practice and http://linux.die.net/man/3/alloca). (bzr r10760) --- src/color.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/color.cpp') diff --git a/src/color.cpp b/src/color.cpp index ab01ebc2a..ca5d50f14 100644 --- a/src/color.cpp +++ b/src/color.cpp @@ -183,8 +183,6 @@ guint32 SPColor::toRGBA32( gdouble alpha ) const std::string SPColor::toString() const { CSSOStringStream css; - - std::string result; char tmp[64] = {0}; sp_svg_write_color(tmp, sizeof(tmp), toRGBA32(0x0ff)); -- cgit v1.2.3