Skip to content

Commit

Permalink
do copy paramaters before call analyzer runner
Browse files Browse the repository at this point in the history
  • Loading branch information
rizsotto committed Apr 22, 2016
1 parent 3201876 commit 551ea0a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libscanbuild/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,7 @@ def analyze_build_wrapper(**kwargs):
}
# call static analyzer against the compilation
for source in compilation.files:
parameters.update({'file': source})
logging.debug('analyzer parameters %s', parameters)
current = run(parameters)
current = run(dict(parameters, file=source))
# display error message from the static analyzer
logging_analyzer_output(current)

Expand Down

0 comments on commit 551ea0a

Please sign in to comment.