Commit 99246a5c authored by Daan Vreeken's avatar Daan Vreeken
Browse files

Committer: Daan Vreeken <pa4dan@RacebeestV3.VEHosting.LAN>

	modified:   common/utils/location.c

Move to new-style initializers. This silences a clang warning.
parent 4a437948
......@@ -14,15 +14,15 @@ struct location {
};
static struct location location_Dwingeloo = {
lon_deg: 6.0,
lon_min: 23.0,
lon_sec: 46.21,
.lon_deg = 6.0,
.lon_min = 23.0,
.lon_sec = 46.21,
lat_deg: 52.0,
lat_min: 48.0,
lat_sec: 43.27,
.lat_deg = 52.0,
.lat_min = 48.0,
.lat_sec = 43.27,
altitude: 25,
.altitude = 25,
};
struct location *location_create(const char *location){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment