summaryrefslogtreecommitdiff
path: root/sphinx/ext/mathbase.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/ext/mathbase.py')
-rw-r--r--sphinx/ext/mathbase.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/sphinx/ext/mathbase.py b/sphinx/ext/mathbase.py
index 68ae40f8a..4789b117e 100644
--- a/sphinx/ext/mathbase.py
+++ b/sphinx/ext/mathbase.py
@@ -76,10 +76,6 @@ class MathDomain(Domain):
# type: (Iterable[unicode], Dict) -> None
for labelid, (doc, eqno) in otherdata['objects'].items():
if doc in docnames:
- if labelid in self.data['objects']:
- otherdoc, _ = self.data['objects']
- logger.warning('duplicate label of equation %s, other instance in %s' %
- (labelid, self.env.doc2path(otherdoc)))
self.data['objects'][labelid] = (doc, eqno)
def resolve_xref(self, env, fromdocname, builder, typ, target, node, contnode):