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
165cbf11
Commit
165cbf11
authored
Feb 23, 2012
by
Marco Mattila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings introduced in 3430.
parent
39ba3608
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
component_references_lister.cpp
eeschema/component_references_lister.cpp
+1
-1
dialog_build_BOM.cpp
eeschema/dialogs/dialog_build_BOM.cpp
+1
-1
netlist.h
eeschema/netlist.h
+7
-1
No files found.
eeschema/component_references_lister.cpp
View file @
165cbf11
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
//#define USE_OLD_ALGO
//#define USE_OLD_ALGO
void
SCH_REFERENCE_LIST
::
RemoveItem
(
int
aIndex
)
void
SCH_REFERENCE_LIST
::
RemoveItem
(
unsigned
int
aIndex
)
{
{
if
(
aIndex
<
componentFlatList
.
size
()
)
if
(
aIndex
<
componentFlatList
.
size
()
)
componentFlatList
.
erase
(
componentFlatList
.
begin
()
+
aIndex
);
componentFlatList
.
erase
(
componentFlatList
.
begin
()
+
aIndex
);
...
...
eeschema/dialogs/dialog_build_BOM.cpp
View file @
165cbf11
...
@@ -855,7 +855,7 @@ int DIALOG_BUILD_BOM::PrintComponentsListByRef( FILE* f,
...
@@ -855,7 +855,7 @@ int DIALOG_BUILD_BOM::PrintComponentsListByRef( FILE* f,
int
DIALOG_BUILD_BOM
::
PrintComponentsListByPart
(
FILE
*
aFile
,
SCH_REFERENCE_LIST
&
aList
,
int
DIALOG_BUILD_BOM
::
PrintComponentsListByPart
(
FILE
*
aFile
,
SCH_REFERENCE_LIST
&
aList
,
bool
aIncludeSubComponents
)
bool
aIncludeSubComponents
)
{
{
int
index
=
0
;
unsigned
int
index
=
0
;
while
(
index
<
aList
.
GetCount
()
)
while
(
index
<
aList
.
GetCount
()
)
{
{
SCH_COMPONENT
*
component
=
aList
[
index
].
GetComponent
();
SCH_COMPONENT
*
component
=
aList
[
index
].
GetComponent
();
...
...
eeschema/netlist.h
View file @
165cbf11
...
@@ -220,7 +220,13 @@ public:
...
@@ -220,7 +220,13 @@ public:
componentFlatList
.
push_back
(
aItem
);
componentFlatList
.
push_back
(
aItem
);
}
}
void
RemoveItem
(
int
aIndex
);
/**
* Function RemoveItem
* removes an item from the list of references.
*
* @param aIndex is the index of the item to be removed.
*/
void
RemoveItem
(
unsigned
int
aIndex
);
/**
/**
* Function RemoveSubComponentsFromList
* Function RemoveSubComponentsFromList
...
...
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