Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e63b4d3 authored by Steve Kondik's avatar Steve Kondik
Browse files

location: Fix incorrect unused argument workaround

 * Assigning a variable to itself causes Clang to throw an error.
 * The correct way to do this is a cast to void (the original issue was
   that it was cast to a void* instead of void, causing the 64-bit
   compilation failure)

Change-Id: I4773c701aca7aa9bd9bb0faa6dfd425635b0dc11
parent 41be9385
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -660,7 +660,7 @@ static void android_location_GpsLocationProvider_agps_set_reference_location_cel
#ifdef AGPS_USE_PSC
            location.u.cellID.psc = psc;
#else
            psc = psc;
            (void)psc;
#endif
            location.u.cellID.cid = cid;
            break;