[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (14fe70f2e226524fd95dd8a3012f1e0dec9191f8)



The branch, master has been updated
       via  14fe70f2e226524fd95dd8a3012f1e0dec9191f8 (commit)
      from  6e89ba408604105b89a622d8ce5606027ececeb2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/thermal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


=================
 Commit Messages
=================

commit 14fe70f2e226524fd95dd8a3012f1e0dec9191f8
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    thermal.c: Initialise flags of the LineType object in square_therm()
    
    Keeps valgrind quiet about conditionals based upon uninitialised
    variables.. must be a good thing.

:100644 100644 4fdcb1c... f9dd369... M	src/thermal.c

=========
 Changes
=========

commit 14fe70f2e226524fd95dd8a3012f1e0dec9191f8
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    thermal.c: Initialise flags of the LineType object in square_therm()
    
    Keeps valgrind quiet about conditionals based upon uninitialised
    variables.. must be a good thing.

diff --git a/src/thermal.c b/src/thermal.c
index 4fdcb1c..f9dd369 100644
--- a/src/thermal.c
+++ b/src/thermal.c
@@ -204,6 +204,7 @@ square_therm (PinTypePtr pin, Cardinal style)
     case 4:
       {
         LineType l;
+        l.Flags = NoFlags ();
         d = pin->Thickness / 2 - pcb->ThermScale * pin->Clearance;
         out = pin->Thickness / 2 + pin->Clearance / 4;
         in = pin->Clearance / 2;




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs