diff options
author | Chih-Wei Huang <cwhuang@linux.org.tw> | 2013-12-24 17:51:55 +0800 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2014-01-02 19:22:53 +0000 |
commit | 0715d10b9e6c04327adb189e13ecd6a3c2df48ce (patch) | |
tree | 3136695bb4c8d9cb07071fdf73f8e11aa94a048f /android | |
parent | c5149b1e38ecd5c3f3d3add7fc118fb47b719929 (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 'android')
0 files changed, 0 insertions, 0 deletions