diff --git a/simgear/misc/props.cxx b/simgear/misc/props.cxx index 21a2aac4..77daddb2 100644 --- a/simgear/misc/props.cxx +++ b/simgear/misc/props.cxx @@ -8,10 +8,6 @@ #include "props.hxx" -#include -#include -#include - #if PROPS_STANDALONE #include @@ -28,6 +24,9 @@ SG_USING_STD(sort); #endif +#include +#include +#include @@ -223,7 +222,6 @@ copy_string (const char * s) // For some reason, strnlen and // strncpy cause all kinds of crashes. string str = s; - size_t len = strlen(s); char * copy = new char[str.size() + 1]; strcpy(copy, str.c_str()); return copy;