Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
6ed78f5b
Commit
6ed78f5b
authored
May 01, 2008
by
f3nix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings fixes.
parent
9bab41e4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
queue.cpp
pcbnew/queue.cpp
+3
-2
PolyLine.cpp
polygon/PolyLine.cpp
+1
-0
No files found.
pcbnew/queue.cpp
View file @
6ed78f5b
...
...
@@ -105,8 +105,9 @@ int SetQueue (int r,int c,int side,int d,int a,int r2,int c2 )
0 si defaut allocation Memoire
*/
{
struct
PcbQueue
*
p
,
*
q
,
*
t
;
int
i
,
j
;
struct
PcbQueue
*
p
,
*
q
,
*
t
;
int
i
,
j
;
j
=
0
;
// gcc warning fix
if
(
(
p
=
Save
)
!=
NULL
)
/* try free list first */
{
...
...
polygon/PolyLine.cpp
View file @
6ed78f5b
...
...
@@ -1431,6 +1431,7 @@ void CPolyLine::AddContourForPadClearance( int type, int x, int y, int w,
double
r
=
max
(
w
/
2
+
fill_clearance
,
hole_w
/
2
+
hole_clearance
);
double
start_angle
=
asin
(
spoke_w
/
(
2.0
*
r
)
);
double
th1
,
th2
,
corner_x
,
corner_y
;
th1
=
th2
=
corner_x
=
corner_y
=
0
;
// gcc warning fix
for
(
int
i
=
0
;
i
<
4
;
i
++
)
{
if
(
i
==
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment