From 2633767789e4264b13ef91a684accf734fb4e94f Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Wed, 26 Oct 2011 21:55:51 -0700 Subject: Fixing more broken and split doc comments. (bzr r10697) --- src/color.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/color.cpp') diff --git a/src/color.cpp b/src/color.cpp index 54af89ae5..ab01ebc2a 100644 --- a/src/color.cpp +++ b/src/color.cpp @@ -1,6 +1,4 @@ -#define __SP_COLOR_C__ - -/** \file +/* * Colors. * * Author: -- cgit v1.2.3 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