There is a warning when casts are performed inside {}

Em 2013/06/01 00:04, "Kenn Sebesta" <notifications@github.com> escreveu:

In ground/gcs/src/plugins/motioncapture/natnet.cpp:

> @@ -703,7 +703,10 @@ void NatNet::processUpdate(const QByteArray& dataBuf)
>              once=true;
>
>              HomeLocation::DataFields homeData = posHome->getData();
> -            double homeLLA[]={homeData.Latitude, homeData.Longitude, homeData.Altitude};
> +            double temp1 = homeData.Latitude;
> +            double temp2 = homeData.Longitude;
> +            double temp3 = homeData.Altitude;
> +            double homeLLA[]={temp1, temp2, temp3};

Interesting. What is the difference between the declaration from the
structure and the one from the three temps?

—
Reply to this email directly or view it on
GitHub<https://github.com/TauLabs/TauLabs/pull/581/files#r4487019>
.