summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@linux.org.tw>2013-12-24 17:51:55 +0800
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:53:00 -0800
commitef37f1f216d88f9353bf4ac81ce365482d0a9f49 (patch)
tree9f57b18e1c3f99eabf612cc7cce775f679d25228 /tools/perf/scripts/python/sctop.py
parent8fbe05e54b4ceab2e11ca8f7b0a82055e2c29810 (diff)
cpufreq: interactive: fix compiling warnings
The gcc warns like: cpufreq_interactive.c:745:6: warning: operation on 'ret' may be undefined [-Wsequence-point] It was introduced by commit cf0fad49d17cb8273ce555dd5b7afab67d7923bf. Since sprintf(...) just return 1 (one character) in this case, ret should not changed. Just discarding the result of sprintf(...) leads to the result that the committer of cf0fad49d17cb8273ce555dd5b7afab67d7923bf wants. Change-Id: Ifed1cef6d6a31c3ed23dad03a567b3b9eddf3a57 Signed-off-by: Chih-Wei Huang <cwhuang@android-x86.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions