Skip to content

Commit 9df4510

Browse files
committed
lib/unicore/mktables: remove unused variable
Variable '$full_filename' is declared and assigned to, but not used anywhere else in the program. The string '$full_filename' is found nowhere else in the core distribution. Hence, the variable is superfluous. After making that change, had to run porting programs: $ ./perl -Ilib regen/regcharclass.pl Changed: regcharclass.h $ ./perl -Ilib regen/mk_invlists.pl Changed: regexp_constants.h charclass_invlists.inc lib/unicore/uni_keywords.pl uni_keywords.h
1 parent 7bc502f commit 9df4510

File tree

6 files changed

+5
-8
lines changed

6 files changed

+5
-8
lines changed

charclass_invlists.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456712,7 +456712,7 @@ static const U8 WB_dfa_table[] = {
456712456712
* 4be1c18e7b121d951018065b453bb05083f624c8f905ce8be7c0f354c9097c95 lib/unicore/extracted/DLineBreak.txt
456713456713
* 786833e0a3f5ec0c0cd0940e4c15f730f3a92163f354ecd7dede28a70c0fa892 lib/unicore/extracted/DNumType.txt
456714456714
* 00b43cc5c9b86a834f82389c4537f103e652821387daa556f0bd220f6c23007e lib/unicore/extracted/DNumValues.txt
456715-
* 308c29a8d4df1761b0ea5a6a93fbe8649a80b7863d2848be6dc2d65238348e13 lib/unicore/mktables
456715+
* 5c5d8c9c8d991938d1c22d94779d493b65451e83c9b1274b8e43fd7f192493be lib/unicore/mktables
456716456716
* 63f771c327e92574fbd77919586079c38f669058a5e6b67ccec385ef8fcde882 lib/unicore/version
456717456717
* 0a6b5ab33bb1026531f816efe81aea1a8ffcd34a27cbea37dd6a70a63d73c844 regen/charset_translations.pl
456718456718
* c7ff8e0d207d3538c7feb4a1a152b159e5e902d20293b303569ea8323e84633e regen/mk_PL_charclass.pl

lib/unicore/mktables

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16070,9 +16070,6 @@ sub register_file_for_name($table, $directory_ref, $file) {
1607016070
$directory_ref =\@directories;
1607116071
}
1607216072

16073-
# Join all the file path components together, using slashes.
16074-
my $full_filename = join('/', @$directory_ref, $file);
16075-
1607616073
# All go in the same subdirectory of unicore, or the special
1607716074
# pseudo-directory '#'
1607816075
if ($directory_ref->[0] !~ / ^ $matches_directory | \# $ /x) {

lib/unicore/uni_keywords.pl

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

regcharclass.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

regexp_constants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
* 4be1c18e7b121d951018065b453bb05083f624c8f905ce8be7c0f354c9097c95 lib/unicore/extracted/DLineBreak.txt
8080
* 786833e0a3f5ec0c0cd0940e4c15f730f3a92163f354ecd7dede28a70c0fa892 lib/unicore/extracted/DNumType.txt
8181
* 00b43cc5c9b86a834f82389c4537f103e652821387daa556f0bd220f6c23007e lib/unicore/extracted/DNumValues.txt
82-
* 308c29a8d4df1761b0ea5a6a93fbe8649a80b7863d2848be6dc2d65238348e13 lib/unicore/mktables
82+
* 5c5d8c9c8d991938d1c22d94779d493b65451e83c9b1274b8e43fd7f192493be lib/unicore/mktables
8383
* 63f771c327e92574fbd77919586079c38f669058a5e6b67ccec385ef8fcde882 lib/unicore/version
8484
* 0a6b5ab33bb1026531f816efe81aea1a8ffcd34a27cbea37dd6a70a63d73c844 regen/charset_translations.pl
8585
* c7ff8e0d207d3538c7feb4a1a152b159e5e902d20293b303569ea8323e84633e regen/mk_PL_charclass.pl

uni_keywords.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)