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
3cb168be
Commit
3cb168be
authored
Mar 06, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed warnings.
parent
b8e3ff8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
class_zone.cpp
pcbnew/class_zone.cpp
+0
-4
legacy_plugin.cpp
pcbnew/legacy_plugin.cpp
+2
-2
No files found.
pcbnew/class_zone.cpp
View file @
3cb168be
...
...
@@ -588,10 +588,6 @@ void ZONE_CONTAINER::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList )
{
wxString
msg
;
BOARD
*
board
=
(
BOARD
*
)
m_Parent
;
wxASSERT
(
board
);
msg
=
_
(
"Zone Outline"
);
// Display Cutout instead of Outline for holes inside a zone
...
...
pcbnew/legacy_plugin.cpp
View file @
3cb168be
...
...
@@ -1814,7 +1814,7 @@ void LEGACY_PLUGIN::loadNETINFO_ITEM()
{
char
buf
[
1024
];
NETINFO_ITEM
*
net
;
NETINFO_ITEM
*
net
=
NULL
;
char
*
line
;
while
(
(
line
=
READLINE
(
m_reader
)
)
!=
NULL
)
...
...
@@ -1835,7 +1835,7 @@ void LEGACY_PLUGIN::loadNETINFO_ITEM()
{
// net 0 should be already in list, so store this net
// if it is not the net 0, or if the net 0 does not exists.
if
(
net
->
GetNet
()
>
0
||
m_board
->
FindNet
(
0
)
==
NULL
)
if
(
net
!=
NULL
&&
(
net
->
GetNet
()
>
0
||
m_board
->
FindNet
(
0
)
==
NULL
)
)
m_board
->
AppendNet
(
net
);
else
delete
net
;
...
...
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