trivial: Never add duplicate symbols to the map file

This commit is contained in:
Richard Hughes 2019-11-27 11:39:52 +00:00
parent aed7826c8f
commit 6a710c3c23
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,8 @@ class LdVersionScript:
if version not in self.releases:
self.releases[version] = []
release = self.releases[version]
release.append(identifier)
if identifier not in release:
release.append(identifier)
return version
def _add_cls(self, cls):

View File

@ -159,7 +159,6 @@ LIBFWUPDPLUGIN_1.0.0 {
LIBFWUPDPLUGIN_1.0.1 {
global:
fu_chunk_array_to_string;
fu_chunk_array_to_string;
fu_plugin_get_quirks;
fu_plugin_lookup_quirk_by_id;