- Fix gcc warning that lead to failure due to -Werror flagepel9
parent
f313b0fb26
commit
b8e12a3b6a
@ -0,0 +1,12 @@
|
||||
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;
|
||||
}
|
Loading…
Reference in new issue