Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
codefactor: fix unnecessary else after return maintainability issue
[simgrid.git] / src / simix / simcalls.py
index 123b4c1..c982a24 100755 (executable)
@@ -178,8 +178,7 @@ class Simcall(object):
                                                                                     self.name,
                                                                                     ''.join(', %s %s' % (arg.rettype(), arg.name)
                                                                                             for i, arg in enumerate(self.args)))
-        else:
-            return ""
+        return ""
 
 
 def parse(fn):