libkml/libkml-fix-gcc-warning.patch

13 lines
477 B
Diff
Raw Normal View History

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;
}