libkml/libkml-fix-gcc-warning.patch
Orcan Ogetbil b8e12a3b6a * Mon Aug 02 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.6.1-7
- Fix gcc warning that lead to failure due to -Werror flag
2010-08-02 02:41:42 -04:00

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