Code

Corrected initialization order.
[inkscape.git] / src / dom / lsimpl.h
index 0f0088684d4828de8b774c54668a6f929339ad5c..b87498517d50f47c5c86eb33b9d71dbc45c9bcee 100644 (file)
@@ -12,7 +12,7 @@
  * Authors:
  *   Bob Jamison
  *
- * Copyright (C) 2005 Bob Jamison
+ * Copyright (C) 2005-2007 Bob Jamison
  *
  *  This library is free software; you can redistribute it and/or
  *  modify it under the terms of the GNU Lesser General Public
@@ -144,13 +144,13 @@ public:
     /**
      *
      */
-    virtual unsigned short startElement(const ElementPtr elementArg)
+    virtual unsigned short startElement(const ElementPtr /*elementArg*/)
         { return 0; }
 
     /**
      *
      */
-    virtual unsigned short acceptNode(const NodePtr nodeArg)
+    virtual unsigned short acceptNode(const NodePtr /*nodeArg*/)
         { return 0; }
 
     /**
@@ -236,7 +236,11 @@ private:
 
     void spaces();
 
-    void po(char *fmt, ...);
+    void po(char const *fmt, ...)
+    #ifdef G_GNUC_PRINTF
+    G_GNUC_PRINTF(2, 3)
+    #endif
+    ;
 
     void pos(const DOMString &str);
 
@@ -301,8 +305,8 @@ public:
     /**
      *
      */
-    virtual LSParser &createLSParser(unsigned short mode,
-                                     const DOMString &schemaType)
+    virtual LSParser &createLSParser(unsigned short /*mode*/,
+                                     const DOMString &/*schemaType*/)
                                      throw (dom::DOMException)
         {
         LSParserImpl newParser;