b8e12a3b6a
- Fix gcc warning that lead to failure due to -Werror flag
13 lines
477 B
Diff
13 lines
477 B
Diff
diff -rupN libkml-0.6.1.old/src/kml/dom/geometry.cc libkml-0.6.1/src/kml/dom/geometry.cc
|
|
--- libkml-0.6.1.old/src/kml/dom/geometry.cc 2009-01-09 14:31:00.000000000 -0500
|
|
+++ libkml-0.6.1/src/kml/dom/geometry.cc 2010-08-02 02:30:23.000000000 -0400
|
|
@@ -117,7 +117,7 @@ bool Coordinates::ParseVec3(const char*
|
|
}
|
|
if (nextp) {
|
|
while (isspace(*endp)) { // Eat the remaining whitespace before return.
|
|
- *endp++;
|
|
+ (void)*endp++;
|
|
}
|
|
*nextp = endp;
|
|
}
|