SonarOpenCommunity / sonar-cxx

Function contains unused argument PYL-W0613
Anti-pattern
Major
5 months ago3 years old
239    sys.exit(1)
240
241
242def create_infer_rules(rules):243    with open('infer.xml', 'w') as output:
244        output.write(TEMPLATE_BEGINNING)
245        for rule in RULES.split('\n'):
 75    return -1
 76        
 77       
 78def GetDefinition(line_index, strip=0): 79    methodcomplete = 0                    
 80    allmethod = ''
 81    linecnt = 0
 43                                                        
 44    filetowrite.close()
 45
 46def CheckIfCommentIsValid(line, linenumber): 47             
 48    index = line.find("#")    
 49    if index == -1: