Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/notes/common Don't use an undefined variable.



details:   https://anonhg.NetBSD.org/src/rev/1bbeefc9a34f
branches:  trunk
changeset: 465726:1bbeefc9a34f
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Dec 02 21:54:33 2019 +0000

description:
Don't use an undefined variable.

diffstat:

 distrib/notes/common/extract-contrib-string.pl |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7c4c9a56404f -r 1bbeefc9a34f distrib/notes/common/extract-contrib-string.pl
--- a/distrib/notes/common/extract-contrib-string.pl    Mon Dec 02 21:24:50 2019 +0000
+++ b/distrib/notes/common/extract-contrib-string.pl    Mon Dec 02 21:54:33 2019 +0000
@@ -303,7 +303,7 @@
                    }
 
                    $copyrights{$msg} = 1;
-                   $lc_copyrights{$lc_msg} = 1;
+                   $lc_copyrights{lc($msg)} = 1;
                }                
 
            } else {



Home | Main Index | Thread Index | Old Index