Skip to content

Commit

Permalink
Nits (GPSBabel#863)
Browse files Browse the repository at this point in the history
* delete crumbs from deprecated formats.

* whitespace
  • Loading branch information
tsteven4 authored Mar 14, 2022
1 parent a4769c8 commit c8ac4c5
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
3 changes: 0 additions & 3 deletions defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1092,12 +1092,9 @@ QString get_filename(const QString& fname); /* extract the filename portion */
* Character encoding transformations.
*/

#define CET_NOT_CONVERTABLE_DEFAULT '$'
#define CET_CHARSET_ASCII "US-ASCII"
#define CET_CHARSET_UTF8 "UTF-8"
#define CET_CHARSET_HEBREW "ISO-8859-8"
#define CET_CHARSET_MS_ANSI "windows-1252"
#define CET_CHARSET_LATIN1 "ISO-8859-1"

/* this lives in gpx.c */
gpsbabel::DateTime xml_parse_time(const QString& dateTimeString);
Expand Down
2 changes: 1 addition & 1 deletion exif.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class ExifFormat : public Format
public:
T num;
T den;

Rational() = default;
Rational(T n, T d) : num{n}, den{d} {}
};
Expand Down
3 changes: 0 additions & 3 deletions formspec.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
enum FsType {
kFsUnknown = 0L,
kFsGpx = 0x67707800L,
kFsAn1W = 0x616e3177L,
kFsAn1L = 0x616e316cL,
kFsAn1V = 0x616e3176L,
kFsOzi = 0x6f7a6900L,
kFsGmsd = 0x474d5344L, /* GMSD = Garmin specific data */
kFsQstarzBl1000 = 0x5173747aL,
Expand Down
2 changes: 1 addition & 1 deletion kml.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class KmlFormat : public Format
"Folder",
nullptr
};

static constexpr const char* kml_tags_to_skip[] = {
"Camera",
"LookAt",
Expand Down
2 changes: 0 additions & 2 deletions vecs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ extern ff_vecs_t mapasia_tr7_vecs;
extern ff_vecs_t gnav_trl_vecs;
extern ff_vecs_t navitel_trk_vecs;
extern ff_vecs_t ggv_ovl_vecs;
#if CSVFMTS_ENABLED
#endif // CSVFMTS_ENABLED
extern ff_vecs_t itracku_vecs;
extern ff_vecs_t itracku_fvecs;
extern ff_vecs_t sbp_vecs;
Expand Down

0 comments on commit c8ac4c5

Please sign in to comment.