projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1793288
)
Remove unused variable.
author
Carl Hetherington
<cth@carlh.net>
Sat, 24 Feb 2024 20:44:25 +0000
(21:44 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 25 Feb 2024 18:58:17 +0000
(19:58 +0100)
src/language_tag.cc
patch
|
blob
|
history
diff --git
a/src/language_tag.cc
b/src/language_tag.cc
index 8faf226ca8fd1d0e87074cc0cd6711cc86567490..037814f927dfe7d4b040b32bbf3bb3cb77705542 100644
(file)
--- a/
src/language_tag.cc
+++ b/
src/language_tag.cc
@@
-432,7
+432,6
@@
load_language_tag_list (boost::filesystem::path tags_directory, string name, std
}
char buffer[512];
- int i = 0;
while (!f.eof()) {
char* r = f.gets(buffer, sizeof(buffer));
if (r == 0) {
@@
-447,7
+446,6
@@
load_language_tag_list (boost::filesystem::path tags_directory, string name, std
string b = buffer;
trim (b);
add (a, b);
- ++i;
}
}