mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Silenced compiler warnings
This commit is contained in:
parent
78240787ab
commit
e63fbffe08
@ -429,7 +429,7 @@ bool NMEAParser::readZDA(CTX &ctx, const char *line, int len)
|
|||||||
{
|
{
|
||||||
int col = 1;
|
int col = 1;
|
||||||
const char *vp = line;
|
const char *vp = line;
|
||||||
int d, m, y;
|
int d = 0, m = 0, y = 0;
|
||||||
|
|
||||||
for (const char *lp = line; lp < line + len; lp++) {
|
for (const char *lp = line; lp < line + len; lp++) {
|
||||||
if (*lp == ',' || *lp == '*') {
|
if (*lp == ',' || *lp == '*') {
|
||||||
|
@ -246,7 +246,7 @@ static QPainterPath textPath(const T &path, qreal textWidth, qreal charWidth,
|
|||||||
|
|
||||||
for (int i = 0; i < lines.size(); i++) {
|
for (int i = 0; i < lines.size(); i++) {
|
||||||
const QPolygonF &pl = lines.at(i);
|
const QPolygonF &pl = lines.at(i);
|
||||||
qreal angle, length = 0;
|
qreal angle = 0, length = 0;
|
||||||
int last = 0;
|
int last = 0;
|
||||||
|
|
||||||
for (int j = 1; j < pl.size(); j ++) {
|
for (int j = 1; j < pl.size(); j ++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user