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
c0ed2266
Commit
c0ed2266
authored
Apr 04, 2014
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove a warning message
parent
5768efe8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
class_board_connected_item.cpp
pcbnew/class_board_connected_item.cpp
+3
-12
modview_frame.cpp
pcbnew/modview_frame.cpp
+1
-1
No files found.
pcbnew/class_board_connected_item.cpp
View file @
c0ed2266
...
...
@@ -109,9 +109,7 @@ int BOARD_CONNECTED_ITEM::GetClearance( BOARD_CONNECTED_ITEM* aItem ) const
}
else
{
#ifdef DEBUG
wxLogWarning
(
wxT
(
"BOARD_CONNECTED_ITEM::GetClearance():NULL netclass,type %d"
),
Type
()
);
#endif
DBG
(
printf
(
"%s: NULL netclass,type %d"
,
__func__
,
Type
()
);)
}
return
0
;
...
...
@@ -129,9 +127,7 @@ NETCLASS* BOARD_CONNECTED_ITEM::GetNetClass() const
if
(
board
==
NULL
)
// Should not occur
{
#ifdef DEBUG
wxLogWarning
(
wxT
(
"BOARD_CONNECTED_ITEM::GetNetClass():NULL board,type %d"
),
Type
()
);
#endif
DBG
(
printf
(
"%s: NULL board,type %d"
,
__func__
,
Type
()
);)
return
NULL
;
}
...
...
@@ -142,12 +138,7 @@ NETCLASS* BOARD_CONNECTED_ITEM::GetNetClass() const
{
netclass
=
net
->
GetNetClass
();
#ifdef DEBUG
if
(
netclass
==
NULL
)
{
wxLogWarning
(
wxT
(
"BOARD_CONNECTED_ITEM::GetNetClass():NULL netclass,type %d"
),
Type
()
);
}
#endif
//DBG( if(!netclass) printf( "%s: NULL netclass,type %d", __func__, Type() );)
}
if
(
netclass
)
...
...
pcbnew/modview_frame.cpp
View file @
c0ed2266
...
...
@@ -281,7 +281,7 @@ FOOTPRINT_VIEWER_FRAME* FOOTPRINT_VIEWER_FRAME::GetActiveFootprintViewer( const
// most immediate parent's.
// NOTE: an open FOOTPRINT_VIEWER_FRAME may have either the PCB_EDIT_FRAME
// or the FOOTPRINT_EDIT_FRAME.
// or the FOOTPRINT_EDIT_FRAME
as parent
.
KIWAY
*
kiway
=
&
aParent
->
Kiway
();
wxWindow
*
frame
;
...
...
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