Lines 1-69
Link Here
|
1 |
--- ./include/xqilla/runtime/ResultImpl.hpp.orig 2011-08-12 09:38:56.000000000 +0200 |
|
|
2 |
+++ ./include/xqilla/runtime/ResultImpl.hpp 2011-08-12 09:50:47.000000000 +0200 |
3 |
@@ -58,7 +58,7 @@ |
4 |
Result *resultPointer_; |
5 |
|
6 |
private: |
7 |
- ResultImpl(const ResultImpl &) {}; |
8 |
+ ResultImpl(const ResultImpl &) : LocationInfo() {}; |
9 |
ResultImpl &operator=(const ResultImpl &) { return *this; }; |
10 |
}; |
11 |
|
12 |
--- include/xqilla/events/EventSerializer.hpp.orig 2011-08-12 09:54:35.000000000 +0200 |
13 |
+++ include/xqilla/events/EventSerializer.hpp 2011-08-12 09:54:51.000000000 +0200 |
14 |
@@ -37,7 +37,9 @@ |
15 |
XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager); |
16 |
~EventSerializer(); |
17 |
|
18 |
- virtual void setLocationInfo(const LocationInfo *location) {} |
19 |
+ virtual void setLocationInfo(const LocationInfo *location) { |
20 |
+ (void) location; |
21 |
+ } |
22 |
|
23 |
virtual void startDocumentEvent(const XMLCh *documentURI, const XMLCh *encoding); |
24 |
virtual void endDocumentEvent(); |
25 |
--- ./include/xqilla/simple-api/XQillaConfiguration.hpp.orig 2011-08-12 09:56:32.000000000 +0200 |
26 |
+++ ./include/xqilla/simple-api/XQillaConfiguration.hpp 2011-08-12 09:56:51.000000000 +0200 |
27 |
@@ -52,9 +52,13 @@ |
28 |
|
29 |
virtual URIResolver *createDefaultURIResolver(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr) = 0; |
30 |
|
31 |
- virtual void populateStaticContext(StaticContext *context) {} |
32 |
+ virtual void populateStaticContext(StaticContext *context) { |
33 |
+ (void) context; |
34 |
+ } |
35 |
|
36 |
- virtual void populateDynamicContext(DynamicContext *context) {} |
37 |
+ virtual void populateDynamicContext(DynamicContext *context) { |
38 |
+ (void) context; |
39 |
+ } |
40 |
|
41 |
virtual void testInterrupt() {} |
42 |
}; |
43 |
--- include/xqilla/events/EventHandler.hpp.orig 2010-01-13 16:40:36.000000000 +0100 |
44 |
+++ include/xqilla/events/EventHandler.hpp 2011-08-12 10:12:55.000000000 +0200 |
45 |
@@ -35,7 +35,9 @@ |
46 |
|
47 |
/** Recieves a LocationInfo object that is owned by the caller, and will be |
48 |
updated with the current location information as the parse progresses. */ |
49 |
- virtual void setLocationInfo(const LocationInfo *location) {} |
50 |
+ virtual void setLocationInfo(const LocationInfo *location) { |
51 |
+ (void) location; |
52 |
+ } |
53 |
|
54 |
/** Handles a document node as an event */ |
55 |
virtual void startDocumentEvent(const XMLCh *documentURI, const XMLCh *encoding) = 0; |
56 |
@@ -61,7 +63,12 @@ |
57 |
virtual void namespaceEvent(const XMLCh *prefix, const XMLCh *uri) = 0; |
58 |
/** Handles an atomic item as an event */ |
59 |
virtual void atomicItemEvent(AnyAtomicType::AtomicObjectType type, const XMLCh *value, |
60 |
- const XMLCh *typeURI, const XMLCh *typeName) {} |
61 |
+ const XMLCh *typeURI, const XMLCh *typeName) { |
62 |
+ (void) type; |
63 |
+ (void) value; |
64 |
+ (void) typeURI; |
65 |
+ (void) typeName; |
66 |
+ } |
67 |
/** Called when all events have been reported */ |
68 |
virtual void endEvent() = 0; |
69 |
}; |