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
de03accd
Commit
de03accd
authored
Feb 21, 2015
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Coverity report fixes.
parent
c6f4f159
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
class_board_item.cpp
pcbnew/class_board_item.cpp
+1
-1
dialog_create_array.cpp
pcbnew/dialogs/dialog_create_array.cpp
+4
-0
edit_tool.cpp
pcbnew/tools/edit_tool.cpp
+2
-1
No files found.
pcbnew/class_board_item.cpp
View file @
de03accd
...
...
@@ -222,7 +222,7 @@ int BOARD_ITEM::getTrailingInt( wxString aStr )
int
BOARD_ITEM
::
getNextNumberInSequence
(
std
::
set
<
int
>
aSeq
,
bool
aFillSequenceGaps
)
{
// By default go to the end of the sequence
int
candidate
=
*
aSeq
.
end
();
int
candidate
=
*
aSeq
.
rbegin
();
// Filling in gaps in pad numbering
if
(
aFillSequenceGaps
)
...
...
pcbnew/dialogs/dialog_create_array.cpp
View file @
de03accd
...
...
@@ -272,6 +272,8 @@ void DIALOG_CREATE_ARRAY::OnOkClick( wxCommandEvent& event )
// Only use settings if all values are good
if
(
ok
)
newSettings
=
newGrid
;
else
delete
newGrid
;
}
else
if
(
page
==
m_circularPanel
)
{
...
...
@@ -301,6 +303,8 @@ void DIALOG_CREATE_ARRAY::OnOkClick( wxCommandEvent& event )
// Only use settings if all values are good
if
(
ok
)
newSettings
=
newCirc
;
else
delete
newCirc
;
}
// If we got good settings, send them out and finish
...
...
pcbnew/tools/edit_tool.cpp
View file @
de03accd
...
...
@@ -49,7 +49,8 @@
EDIT_TOOL
::
EDIT_TOOL
()
:
TOOL_INTERACTIVE
(
"pcbnew.InteractiveEdit"
),
m_selectionTool
(
NULL
),
m_dragging
(
false
),
m_editModules
(
false
),
m_updateFlag
(
KIGFX
::
VIEW_ITEM
::
NONE
)
m_dragging
(
false
),
m_editModules
(
false
),
m_undoInhibit
(
0
),
m_updateFlag
(
KIGFX
::
VIEW_ITEM
::
NONE
)
{
}
...
...
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