Code

remove desktop-affine.cpp
[inkscape.git] / src / conditions.cpp
index e5a1d47c9c95505a239559e2c53c0400573ebe44..9a46f27d13f536caed9b4aa3c0c4734cd4e50080 100644 (file)
@@ -149,7 +149,7 @@ static std::vector<Glib::ustring> splitByWhitespace(gchar const *value) {
 #define SVG10FEATURE    "org.w3c."
 
 static bool evaluateSVG11Feature(gchar const *feature) {
-    static gchar *_supported_features[] = {
+    static gchar const *_supported_features[] = {
         "SVG", // incomplete "SVG-static" - missing support for "Filter"
            /* SVG - user agent supports at least one of the following:
                 "SVG-static", "SVG-animation", "SVG-dynamic" or "SVGDOM" */
@@ -228,7 +228,7 @@ static bool evaluateSVG11Feature(gchar const *feature) {
 }
 
 static bool evaluateSVG10Feature(gchar const *feature) {
-    static gchar *_supported_features[] = {
+    static gchar const *_supported_features[] = {
         "svg.static", // incomplete - no filter effects
         "dom.svg.static", // not sure
         // "svg.animation",
@@ -258,7 +258,7 @@ static bool evaluateSingleFeature(gchar const *value) {
     return false;
 }
 
-static bool evaluateRequiredFeatures(SPItem const *item, gchar const *value) {
+static bool evaluateRequiredFeatures(SPItem const */*item*/, gchar const *value) {
     if ( NULL == value )
         return true;
 
@@ -275,7 +275,7 @@ static bool evaluateRequiredFeatures(SPItem const *item, gchar const *value) {
     return true;
 }
 
-static bool evaluateRequiredExtensions(SPItem const *item, gchar const *value) {
+static bool evaluateRequiredExtensions(SPItem const */*item*/, gchar const *value) {
     if ( NULL == value )
         return true;
     return false;