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
1c253bfb
Commit
1c253bfb
authored
Feb 24, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some variables initialized to NULL.
parent
5ac69977
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
opengl_compositor.cpp
common/gal/opengl/opengl_compositor.cpp
+1
-1
drawing_tool.cpp
pcbnew/tools/drawing_tool.cpp
+4
-4
No files found.
common/gal/opengl/opengl_compositor.cpp
View file @
1c253bfb
...
...
@@ -17,7 +17,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, you may find one here:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* or you may search the http:
O
//www.gnu.org website for the version 2 license,
* or you may search the http://www.gnu.org website for the version 2 license,
* or you may write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
...
...
pcbnew/tools/drawing_tool.cpp
View file @
1c253bfb
...
...
@@ -84,7 +84,7 @@ int DRAWING_TOOL::DrawArc( TOOL_EVENT& aEvent )
double
startAngle
;
// angle of the first arc line
VECTOR2I
cursorPos
=
m_controls
->
GetCursorPosition
();
DRAWSEGMENT
*
arc
;
DRAWSEGMENT
*
arc
=
NULL
;
DRAWSEGMENT
helperLine
;
helperLine
.
SetShape
(
S_SEGMENT
);
helperLine
.
SetLayer
(
DRAW_N
);
...
...
@@ -374,7 +374,7 @@ int DRAWING_TOOL::DrawText( TOOL_EVENT& aEvent )
int
DRAWING_TOOL
::
DrawDimension
(
TOOL_EVENT
&
aEvent
)
{
DIMENSION
*
dimension
;
DIMENSION
*
dimension
=
NULL
;
int
width
,
maxThickness
;
// Add a VIEW_GROUP that serves as a preview for the new item
...
...
@@ -922,9 +922,9 @@ int DRAWING_TOOL::drawSegment( int aShape, bool aContinous )
int
DRAWING_TOOL
::
drawZone
(
bool
aKeepout
)
{
ZONE_CONTAINER
*
zone
;
ZONE_CONTAINER
*
zone
=
NULL
;
DRAWSEGMENT
line45
;
DRAWSEGMENT
*
helperLine
;
// we will need more than one helper line
DRAWSEGMENT
*
helperLine
=
NULL
;
// we will need more than one helper line
// Add a VIEW_GROUP that serves as a preview for the new item
KIGFX
::
VIEW_GROUP
preview
(
m_view
);
...
...
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