chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b92f50a
)
distort-stl: debugging, avoid a warning
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 25 Nov 2018 14:40:49 +0000
(14:40 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 25 Nov 2018 14:40:49 +0000
(14:40 +0000)
Use of uninitialized value $debug in numeric ge (>=) at ./distort-stl line 107.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
distort-stl
patch
|
blob
|
history
diff --git
a/distort-stl
b/distort-stl
index b5ccb996f43f39860d1f172ccd5d145d39199e1e..68290c410a6ae4738d680d6409abd8f3464c008e 100755
(executable)
--- a/
distort-stl
+++ b/
distort-stl
@@
-32,7
+32,7
@@
use Data::Dumper;
sub TAU () { M_PI * 2; }
-our $debug = $ENV{DISTORT_DEBUG};
+our $debug = $ENV{DISTORT_DEBUG}
// 0
;
my $ps = $ENV{DISTORT_PS};
if ($ps) {