mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
code cleanup: use explicit zero_location
Again, several different ways to achieve the same thing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
247194e839
commit
70cabb968c
3 changed files with 7 additions and 5 deletions
|
@ -139,6 +139,8 @@ typedef struct pos {
|
|||
degrees_t lat, lon;
|
||||
} location_t;
|
||||
|
||||
static const location_t zero_location = { { 0 }, { 0 }};
|
||||
|
||||
extern void parse_location(const char *, location_t *);
|
||||
|
||||
static inline bool has_location(const location_t *loc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue